#242BA0#242BA0
#242BA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.184 H 271.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #242BA0 |
|---|---|
| RGB | rgb(36, 43, 160) |
| HSL | hsl(237, 63%, 38%) |
| HSV | hsv(237, 78%, 63%) |
| CMYK | cmyk(77.5%, 73.1%, 0%, 37.3%) |
| CIE-LAB | lab(25.68, 38.85, -63.46) |
| CIE-LCH | lch(25.68, 74.41, 301.48°) |
| OKLab | oklab(37.55% 0.0031 -0.1837) |
| OKLCH | oklch(37.55% 0.184 271) |
| XYZ | xyz(7.9344, 4.6400, 33.7283) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.87
Royal
#0C1793
ΔE00 4.98
Indigo Blue
#3A18B1
ΔE00 5.22
Cobalt Blue
#030AA7
ΔE00 6.13
Royal Blue (survey)
#0504AA
ΔE00 6.64
Ultramarine
#2000B1
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242BA0 #A09924
analogous
#2469A0 #242BA0 #5B24A0
triadic
#242BA0 #A0242B #2BA024
tetradic
#242BA0 #A02469 #A09924 #24A05B
square
#242BA0 #A02469 #A09924 #24A05B
split-complementary
#242BA0 #A05B24 #69A024
monochromatic
#0E103C #191E6E #242BA0 #313AD1 #6369DC
Accessibility & contrast
On white
10.89
#242BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#242BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242BA0
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242BA0 | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #242ba0; /* rgb */ color: rgb(36, 43, 160); /* oklch */ color: oklch(37.6% 0.184 271.0);
Tailwind
colors: {
custom: {
50: '#7465bd',
500: '#242ba0',
950: '#000000',
},
}SCSS
$custom: #242ba0; $custom-light: #7465bd; $custom-dark: #000000;
JSON
{
"hex": "#242ba0",
"rgb": {
"r": 36,
"g": 43,
"b": 160
},
"hsl": {
"h": 236.613,
"s": 63.265,
"l": 38.431
},
"oklch": {
"l": 0.37554,
"c": 0.18375,
"h": 271
},
"luminance": 0.04641
}Semantic roles & 50–950 ramp
primary
#242BA0
secondary
#C1BC5F
accent
#DD41E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81