#242B75#242B75
#242B75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.125 H 273.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #242B75 |
|---|---|
| RGB | rgb(36, 43, 117) |
| HSL | hsl(235, 53%, 30%) |
| HSV | hsv(235, 69%, 46%) |
| CMYK | cmyk(69.2%, 63.2%, 0%, 54.1%) |
| CIE-LAB | lab(21.53, 23.06, -43.46) |
| CIE-LCH | lch(21.53, 49.20, 297.95°) |
| OKLab | oklab(33.27% 0.0073 -0.1252) |
| OKLCH | oklch(33.27% 0.125 273.3) |
| XYZ | xyz(4.8012, 3.3867, 17.2269) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.15
Marine
#042E60
ΔE00 6.67
Darkslateblue
#483D8B
ΔE00 7.30
Royal
#0C1793
ΔE00 7.65
Blueberry
#464196
ΔE00 8.27
Sapphire (survey)
#2138AB
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242B75 #756E24
analogous
#245375 #242B75 #462475
triadic
#242B75 #75242B #2B7524
tetradic
#242B75 #752453 #756E24 #247546
square
#242B75 #752453 #756E24 #247546
split-complementary
#242B75 #754624 #537524
monochromatic
#070917 #161A46 #242B75 #323CA4 #4C56C8
Accessibility & contrast
On white
12.52
#242B75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#242B75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242B75
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242B75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242B75 | 1.00 | 12.52 | 1.68 | 12.52 |
| #FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #242b75; /* rgb */ color: rgb(36, 43, 117); /* oklch */ color: oklch(33.3% 0.125 273.3);
Tailwind
colors: {
custom: {
50: '#6a649d',
500: '#242b75',
950: '#000000',
},
}SCSS
$custom: #242b75; $custom-light: #6a649d; $custom-dark: #000000;
JSON
{
"hex": "#242b75",
"rgb": {
"r": 36,
"g": 43,
"b": 117
},
"hsl": {
"h": 234.815,
"s": 52.941,
"l": 30
},
"oklch": {
"l": 0.33272,
"c": 0.12546,
"h": 273.3
},
"luminance": 0.03387
}Semantic roles & 50–950 ramp
primary
#242B75
secondary
#A8A04D
accent
#D04BDC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E