#242F75#242F75
#242F75 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.120 H 271.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #242F75 |
|---|---|
| RGB | rgb(36, 47, 117) |
| HSL | hsl(232, 53%, 30%) |
| HSV | hsv(232, 69%, 46%) |
| CMYK | cmyk(69.2%, 59.8%, 0%, 54.1%) |
| CIE-LAB | lab(22.63, 20.28, -41.68) |
| CIE-LCH | lch(22.63, 46.35, 295.94°) |
| OKLab | oklab(34.09% 0.0036 -0.12) |
| OKLCH | oklch(34.09% 0.12 271.7) |
| XYZ | xyz(4.9539, 3.6920, 17.2777) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.82
Midnight Blue
#191970
ΔE00 6.52
Darkslateblue
#483D8B
ΔE00 7.01
Marine Blue
#01386A
ΔE00 7.38
Blueberry
#464196
ΔE00 7.82
Navy Blue
#1B2A4A
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F75 #756A24
analogous
#245775 #242F75 #422475
triadic
#242F75 #75242F #2F7524
tetradic
#242F75 #752457 #756A24 #247542
square
#242F75 #752457 #756A24 #247542
split-complementary
#242F75 #754224 #577524
monochromatic
#070917 #161C46 #242F75 #3242A4 #4C5CC8
Accessibility & contrast
On white
12.08
#242F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#242F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F75
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F75 | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #242f75; /* rgb */ color: rgb(36, 47, 117); /* oklch */ color: oklch(34.1% 0.120 271.7);
Tailwind
colors: {
custom: {
50: '#69679d',
500: '#242f75',
950: '#000000',
},
}SCSS
$custom: #242f75; $custom-light: #69679d; $custom-dark: #000000;
JSON
{
"hex": "#242f75",
"rgb": {
"r": 36,
"g": 47,
"b": 117
},
"hsl": {
"h": 231.852,
"s": 52.941,
"l": 30
},
"oklch": {
"l": 0.34085,
"c": 0.12002,
"h": 271.7
},
"luminance": 0.03692
}Semantic roles & 50–950 ramp
primary
#242F75
secondary
#A89B4D
accent
#C94BDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E