#242B82#242B82
#242B82 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.144 H 272.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #242B82 |
|---|---|
| RGB | rgb(36, 43, 130) |
| HSL | hsl(236, 57%, 33%) |
| HSV | hsv(236, 72%, 51%) |
| CMYK | cmyk(72.3%, 66.9%, 0%, 49%) |
| CIE-LAB | lab(22.70, 27.96, -49.80) |
| CIE-LCH | lch(22.70, 57.11, 299.31°) |
| OKLab | oklab(34.5% 0.0066 -0.1438) |
| OKLCH | oklch(34.5% 0.144 272.6) |
| XYZ | xyz(5.6193, 3.7140, 21.5355) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.21
Royal
#0C1793
ΔE00 5.98
Sapphire (survey)
#2138AB
ΔE00 6.65
Darkslateblue
#483D8B
ΔE00 6.86
Blueberry
#464196
ΔE00 7.44
Marine
#042E60
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242B82 #827B24
analogous
#245A82 #242B82 #4C2482
triadic
#242B82 #82242B #2B8224
tetradic
#242B82 #82245A #827B24 #24824C
square
#242B82 #82245A #827B24 #24824C
split-complementary
#242B82 #824C24 #5A8224
monochromatic
#090B22 #171B52 #242B82 #313BB2 #515BCF
Accessibility & contrast
On white
12.05
#242B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#242B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242B82
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242B82 | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #242b82; /* rgb */ color: rgb(36, 43, 130); /* oklch */ color: oklch(34.5% 0.144 272.6);
Tailwind
colors: {
custom: {
50: '#6d64a7',
500: '#242b82',
950: '#000000',
},
}SCSS
$custom: #242b82; $custom-light: #6d64a7; $custom-dark: #000000;
JSON
{
"hex": "#242b82",
"rgb": {
"r": 36,
"g": 43,
"b": 130
},
"hsl": {
"h": 235.532,
"s": 56.627,
"l": 32.549
},
"oklch": {
"l": 0.34496,
"c": 0.14399,
"h": 272.6
},
"luminance": 0.03715
}Semantic roles & 50–950 ramp
primary
#242B82
secondary
#B3AB4F
accent
#D548E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F