#242C73#242C73
#242C73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.121 H 273.0°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).
Color values
| HEX | #242C73 |
|---|---|
| RGB | rgb(36, 44, 115) |
| HSL | hsl(234, 52%, 30%) |
| HSV | hsv(234, 69%, 45%) |
| CMYK | cmyk(68.7%, 61.7%, 0%, 54.9%) |
| CIE-LAB | lab(21.63, 21.61, -42.02) |
| CIE-LCH | lch(21.63, 47.25, 297.21°) |
| OKLab | oklab(33.29% 0.0064 -0.121) |
| OKLCH | oklch(33.29% 0.121 273) |
| XYZ | xyz(4.7217, 3.4138, 16.6264) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.59
Marine
#042E60
ΔE00 6.25
Darkslateblue
#483D8B
ΔE00 7.33
Marine Blue
#01386A
ΔE00 8.16
Navy Blue
#1B2A4A
ΔE00 8.20
Royal
#0C1793
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242C73 #736B24
analogous
#245473 #242C73 #442473
triadic
#242C73 #73242C #2C7324
tetradic
#242C73 #732454 #736B24 #247344
square
#242C73 #732454 #736B24 #247344
split-complementary
#242C73 #734424 #547324
monochromatic
#070917 #151A44 #242C73 #333EA2 #4B57C7
Accessibility & contrast
On white
12.48
#242C73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#242C73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242C73
12.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242C73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242C73 | 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)
#003775
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #242c73; /* rgb */ color: rgb(36, 44, 115); /* oklch */ color: oklch(33.3% 0.121 273.0);
Tailwind
colors: {
custom: {
50: '#69659c',
500: '#242c73',
950: '#000000',
},
}SCSS
$custom: #242c73; $custom-light: #69659c; $custom-dark: #000000;
JSON
{
"hex": "#242c73",
"rgb": {
"r": 36,
"g": 44,
"b": 115
},
"hsl": {
"h": 233.924,
"s": 52.318,
"l": 29.608
},
"oklch": {
"l": 0.33292,
"c": 0.12117,
"h": 273
},
"luminance": 0.03414
}Semantic roles & 50–950 ramp
primary
#242C73
secondary
#A69D4D
accent
#CD4CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E