#024C8A

A color in the Blue, Sky, Navy family

#024c8a is a color in the Blue, Sky, Navy family: RGB(2, 76, 138), HSL(207°, 97%, 27%), CMYK(99%, 45%, 0%, 46%). Closest named color: darkslateblue. Contrast is 8.74:1 on white and 2.4:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#024c8a
RGBrgb(2 76 138)
RGB (legacy)rgb(2, 76, 138)
RGB %rgb(1% 30% 54%)
HSLhsl(207 97% 27%)
HSV / HSBhsv(207, 99%, 54%)
HWBhwb(207 1% 46%)
CMYKcmyk(99%, 45%, 0%, 46%)
CIELAB (D50)lab(31.2 -0.51 -40.89)
LCHlch(31.2 40.9 269.29)
OKLaboklab(0.4134 -0.0381 -0.1149)
OKLCHoklch(0.4134 0.1211 251.64)
Decimal150666

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkslateblue ΔE 7.3
Closest web-safe color#003399
Hue207°
Saturation (HSL / HSV)97% / 99%
Lightness (HSL)27%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)24% / 25%
Relative luminance (WCAG)0.0702
Red / Green / Blue2 / 76 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.74:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.40: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 89.3 / -12.9 · As background with white / black text: Lc -93.9 / 14.7

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: #024c8a;
  --color-brand-oklch: oklch(41.34% 0.1211 251.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(2 76 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#024c8a] text-[#024c8a] border-[#024c8a]">