#02487F

A color in the Blue, Sky, Navy family

#02487f is a color in the Blue, Sky, Navy family: RGB(2, 72, 127), HSL(206°, 97%, 25%), CMYK(98%, 43%, 0%, 50%). Closest named color: darkslateblue. Contrast is 9.39:1 on white and 2.24:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#02487f
RGBrgb(2 72 127)
RGB (legacy)rgb(2, 72, 127)
RGB %rgb(1% 28% 50%)
HSLhsl(206 97% 25%)
HSV / HSBhsv(206, 98%, 50%)
HWBhwb(206 1% 50%)
CMYKcmyk(98%, 43%, 0%, 50%)
CIELAB (D50)lab(29.28 -2 -37.18)
LCHlch(29.28 37.24 266.92)
OKLaboklab(0.3956 -0.0377 -0.1043)
OKLCHoklch(0.3956 0.1109 250.12)
Decimal149631

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkslateblue ΔE 7.6
Closest web-safe color#003366
Hue206°
Saturation (HSL / HSV)97% / 98%
Lightness (HSL)25%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)22% / 24%
Relative luminance (WCAG)0.0618
Red / Green / Blue2 / 72 / 127

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.39:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.24:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 91.1 / -11.2 · As background with white / black text: Lc -95.5 / 12.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #02487f;
  --color-brand-oklch: oklch(39.56% 0.1109 250.12);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(2 72 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#02487f] text-[#02487f] border-[#02487f]">