#242B76#242B76
#242B76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.127 H 273.3°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).
Color values
| HEX | #242B76 |
|---|---|
| RGB | rgb(36, 43, 118) |
| HSL | hsl(235, 53%, 30%) |
| HSV | hsv(235, 69%, 46%) |
| CMYK | cmyk(69.5%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(21.62, 23.44, -43.96) |
| CIE-LCH | lch(21.62, 49.82, 298.07°) |
| OKLab | oklab(33.36% 0.0072 -0.1267) |
| OKLCH | oklch(33.36% 0.127 273.3) |
| XYZ | xyz(4.8604, 3.4104, 17.5382) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.11
Marine
#042E60
ΔE00 6.77
Darkslateblue
#483D8B
ΔE00 7.24
Royal
#0C1793
ΔE00 7.50
Blueberry
#464196
ΔE00 8.19
Sapphire (survey)
#2138AB
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242B76 #766F24
analogous
#245476 #242B76 #462476
triadic
#242B76 #76242B #2B7624
tetradic
#242B76 #762454 #766F24 #247646
square
#242B76 #762454 #766F24 #247646
split-complementary
#242B76 #764624 #547624
monochromatic
#070918 #161A47 #242B76 #323CA5 #4C57C8
Accessibility & contrast
On white
12.48
#242B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#242B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242B76
12.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242B76 | 1.00 | 12.48 | 1.68 | 12.48 |
| #FFFFFF | 12.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #242b76; /* rgb */ color: rgb(36, 43, 118); /* oklch */ color: oklch(33.4% 0.127 273.3);
Tailwind
colors: {
custom: {
50: '#6a649e',
500: '#242b76',
950: '#000000',
},
}SCSS
$custom: #242b76; $custom-light: #6a649e; $custom-dark: #000000;
JSON
{
"hex": "#242b76",
"rgb": {
"r": 36,
"g": 43,
"b": 118
},
"hsl": {
"h": 234.878,
"s": 53.247,
"l": 30.196
},
"oklch": {
"l": 0.33364,
"c": 0.12692,
"h": 273.3
},
"luminance": 0.03411
}Semantic roles & 50–950 ramp
primary
#242B76
secondary
#A9A14D
accent
#D04BDD
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E