#242CAC#242CAC
#242CAC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.198 H 270.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #242CAC |
|---|---|
| RGB | rgb(36, 44, 172) |
| HSL | hsl(236, 65%, 41%) |
| HSV | hsv(236, 79%, 67%) |
| CMYK | cmyk(79.1%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(27.17, 42.43, -68.26) |
| CIE-LCH | lch(27.17, 80.37, 301.87°) |
| OKLab | oklab(38.99% 0.0009 -0.1977) |
| OKLCH | oklch(38.99% 0.198 270.3) |
| XYZ | xyz(9.0721, 5.1540, 39.5384) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.44
Indigo Blue
#3A18B1
ΔE00 4.65
True Blue
#010FCC
ΔE00 5.74
Royal
#0C1793
ΔE00 5.94
Cobalt Blue
#030AA7
ΔE00 6.28
Ultramarine
#2000B1
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242CAC #ACA424
analogous
#2470AC #242CAC #6024AC
triadic
#242CAC #AC242C #2CAC24
tetradic
#242CAC #AC2470 #ACA424 #24AC60
square
#242CAC #AC2470 #ACA424 #24AC60
split-complementary
#242CAC #AC6024 #70AC24
monochromatic
#0F1247 #191F79 #242CAC #3841D5 #6A71E0
Accessibility & contrast
On white
10.34
#242CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#242CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242CAC
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242CAC | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #242cac; /* rgb */ color: rgb(36, 44, 172); /* oklch */ color: oklch(39.0% 0.198 270.3);
Tailwind
colors: {
custom: {
50: '#7766c6',
500: '#242cac',
950: '#000000',
},
}SCSS
$custom: #242cac; $custom-light: #7766c6; $custom-dark: #000000;
JSON
{
"hex": "#242cac",
"rgb": {
"r": 36,
"g": 44,
"b": 172
},
"hsl": {
"h": 236.471,
"s": 65.385,
"l": 40.784
},
"oklch": {
"l": 0.38993,
"c": 0.19769,
"h": 270.3
},
"luminance": 0.05155
}Semantic roles & 50–950 ramp
primary
#242CAC
secondary
#C6C066
accent
#DE3FE8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82