#242CA9#242CA9
#242CA9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.194 H 270.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #242CA9 |
|---|---|
| RGB | rgb(36, 44, 169) |
| HSL | hsl(236, 65%, 40%) |
| HSV | hsv(236, 79%, 66%) |
| CMYK | cmyk(78.7%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(26.85, 41.39, -66.98) |
| CIE-LCH | lch(26.85, 78.74, 301.72°) |
| OKLab | oklab(38.67% 0.0013 -0.194) |
| OKLCH | oklch(38.67% 0.194 270.4) |
| XYZ | xyz(8.7872, 5.0400, 38.0381) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.42
Indigo Blue
#3A18B1
ΔE00 4.79
Royal
#0C1793
ΔE00 5.71
True Blue
#010FCC
ΔE00 6.02
Cobalt Blue
#030AA7
ΔE00 6.26
Ultramarine
#2000B1
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242CA9 #A9A124
analogous
#246EA9 #242CA9 #5E24A9
triadic
#242CA9 #A9242C #2CA924
tetradic
#242CA9 #A9246E #A9A124 #24A95E
square
#242CA9 #A9246E #A9A124 #24A95E
split-complementary
#242CA9 #A95E24 #6EA924
monochromatic
#0F1244 #191F77 #242CA9 #3640D4 #6870DF
Accessibility & contrast
On white
10.46
#242CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#242CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242CA9
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242CA9 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #242ca9; /* rgb */ color: rgb(36, 44, 169); /* oklch */ color: oklch(38.7% 0.194 270.4);
Tailwind
colors: {
custom: {
50: '#7766c4',
500: '#242ca9',
950: '#000000',
},
}SCSS
$custom: #242ca9; $custom-light: #7766c4; $custom-dark: #000000;
JSON
{
"hex": "#242ca9",
"rgb": {
"r": 36,
"g": 44,
"b": 169
},
"hsl": {
"h": 236.391,
"s": 64.878,
"l": 40.196
},
"oklch": {
"l": 0.3867,
"c": 0.19398,
"h": 270.4
},
"luminance": 0.05041
}Semantic roles & 50–950 ramp
primary
#242CA9
secondary
#C5BF64
accent
#DE40E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82