#242B74#242B74
#242B74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.124 H 273.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #242B74 |
|---|---|
| RGB | rgb(36, 43, 116) |
| HSL | hsl(235, 53%, 30%) |
| HSV | hsv(235, 69%, 45%) |
| CMYK | cmyk(69%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(21.44, 22.68, -42.96) |
| CIE-LCH | lch(21.44, 48.58, 297.83°) |
| OKLab | oklab(33.18% 0.0073 -0.1238) |
| OKLCH | oklch(33.18% 0.124 273.4) |
| XYZ | xyz(4.7428, 3.3634, 16.9189) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.19
Marine
#042E60
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 7.36
Royal
#0C1793
ΔE00 7.80
Blueberry
#464196
ΔE00 8.36
Navy Blue
#1B2A4A
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242B74 #746D24
analogous
#245374 #242B74 #452474
triadic
#242B74 #74242B #2B7424
tetradic
#242B74 #742453 #746D24 #247445
square
#242B74 #742453 #746D24 #247445
split-complementary
#242B74 #744524 #537424
monochromatic
#070917 #161A45 #242B74 #323CA3 #4B56C7
Accessibility & contrast
On white
12.55
#242B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#242B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242B74
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242B74 | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #242b74; /* rgb */ color: rgb(36, 43, 116); /* oklch */ color: oklch(33.2% 0.124 273.4);
Tailwind
colors: {
custom: {
50: '#6a649d',
500: '#242b74',
950: '#000000',
},
}SCSS
$custom: #242b74; $custom-light: #6a649d; $custom-dark: #000000;
JSON
{
"hex": "#242b74",
"rgb": {
"r": 36,
"g": 43,
"b": 116
},
"hsl": {
"h": 234.75,
"s": 52.632,
"l": 29.804
},
"oklch": {
"l": 0.33181,
"c": 0.12399,
"h": 273.4
},
"luminance": 0.03364
}Semantic roles & 50–950 ramp
primary
#242B74
secondary
#A79F4D
accent
#CF4CDC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E