#242C83#242C83
#242C83 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.144 H 272.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #242C83 |
|---|---|
| RGB | rgb(36, 44, 131) |
| HSL | hsl(235, 57%, 33%) |
| HSV | hsv(235, 73%, 51%) |
| CMYK | cmyk(72.5%, 66.4%, 0%, 48.6%) |
| CIE-LAB | lab(23.05, 27.67, -49.86) |
| CIE-LCH | lch(23.05, 57.02, 299.03°) |
| OKLab | oklab(34.78% 0.0058 -0.144) |
| OKLCH | oklch(34.78% 0.144 272.3) |
| XYZ | xyz(5.7236, 3.8146, 21.9030) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.52
Royal
#0C1793
ΔE00 6.15
Sapphire (survey)
#2138AB
ΔE00 6.40
Darkslateblue
#483D8B
ΔE00 6.71
Blueberry
#464196
ΔE00 7.22
Marine
#042E60
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242C83 #837B24
analogous
#245C83 #242C83 #4B2483
triadic
#242C83 #83242C #2C8324
tetradic
#242C83 #83245C #837B24 #24834B
square
#242C83 #83245C #837B24 #24834B
split-complementary
#242C83 #834B24 #5C8324
monochromatic
#0A0C23 #171C53 #242C83 #313CB3 #525DCF
Accessibility & contrast
On white
11.91
#242C83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#242C83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242C83
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242C83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242C83 | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #242c83; /* rgb */ color: rgb(36, 44, 131); /* oklch */ color: oklch(34.8% 0.144 272.3);
Tailwind
colors: {
custom: {
50: '#6d65a8',
500: '#242c83',
950: '#000000',
},
}SCSS
$custom: #242c83; $custom-light: #6d65a8; $custom-dark: #000000;
JSON
{
"hex": "#242c83",
"rgb": {
"r": 36,
"g": 44,
"b": 131
},
"hsl": {
"h": 234.947,
"s": 56.886,
"l": 32.745
},
"oklch": {
"l": 0.34778,
"c": 0.14413,
"h": 272.3
},
"luminance": 0.03815
}Semantic roles & 50–950 ramp
primary
#242C83
secondary
#B3AB4F
accent
#D348E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F