#242BAC#242BAC
#242BAC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.199 H 270.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #242BAC |
|---|---|
| RGB | rgb(36, 43, 172) |
| HSL | hsl(237, 65%, 41%) |
| HSV | hsv(237, 79%, 67%) |
| CMYK | cmyk(79.1%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(26.96, 43.01, -68.60) |
| CIE-LCH | lch(26.96, 80.97, 302.09°) |
| OKLab | oklab(38.85% 0.0013 -0.1987) |
| OKLCH | oklch(38.85% 0.199 270.4) |
| XYZ | xyz(9.0353, 5.0804, 39.5261) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.69
Indigo Blue
#3A18B1
ΔE00 4.43
True Blue
#010FCC
ΔE00 5.56
Royal
#0C1793
ΔE00 5.75
Cobalt Blue
#030AA7
ΔE00 6.04
Ultramarine
#2000B1
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242BAC #ACA524
analogous
#246FAC #242BAC #6124AC
triadic
#242BAC #AC242B #2BAC24
tetradic
#242BAC #AC246F #ACA524 #24AC61
square
#242BAC #AC246F #ACA524 #24AC61
split-complementary
#242BAC #AC6124 #6FAC24
monochromatic
#0F1247 #191E79 #242BAC #3840D5 #6A71E0
Accessibility & contrast
On white
10.42
#242BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#242BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242BAC
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242BAC | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #242bac; /* rgb */ color: rgb(36, 43, 172); /* oklch */ color: oklch(38.8% 0.199 270.4);
Tailwind
colors: {
custom: {
50: '#7766c6',
500: '#242bac',
950: '#000000',
},
}SCSS
$custom: #242bac; $custom-light: #7766c6; $custom-dark: #000000;
JSON
{
"hex": "#242bac",
"rgb": {
"r": 36,
"g": 43,
"b": 172
},
"hsl": {
"h": 236.912,
"s": 65.385,
"l": 40.784
},
"oklch": {
"l": 0.38846,
"c": 0.19868,
"h": 270.4
},
"luminance": 0.05081
}Semantic roles & 50–950 ramp
primary
#242BAC
secondary
#C6C166
accent
#E03FE8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82