#242AA8#242AA8
#242AA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.195 H 270.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #242AA8 |
|---|---|
| RGB | rgb(36, 42, 168) |
| HSL | hsl(237, 65%, 40%) |
| HSV | hsv(237, 79%, 66%) |
| CMYK | cmyk(78.6%, 75%, 0%, 34.1%) |
| CIE-LAB | lab(26.32, 42.22, -67.25) |
| CIE-LCH | lch(26.32, 79.40, 302.12°) |
| OKLab | oklab(38.26% 0.0023 -0.1947) |
| OKLCH | oklch(38.26% 0.195 270.7) |
| XYZ | xyz(8.6210, 4.8572, 37.5214) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Indigo Blue
#3A18B1
ΔE00 4.42
Royal
#0C1793
ΔE00 5.25
Cobalt Blue
#030AA7
ΔE00 5.77
True Blue
#010FCC
ΔE00 5.78
Ultramarine
#2000B1
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242AA8 #A8A224
analogous
#246CA8 #242AA8 #6024A8
triadic
#242AA8 #A8242A #2AA824
tetradic
#242AA8 #A8246C #A8A224 #24A860
square
#242AA8 #A8246C #A8A224 #24A860
split-complementary
#242AA8 #A86024 #6CA824
monochromatic
#0E1143 #191D76 #242AA8 #353DD4 #686DDF
Accessibility & contrast
On white
10.65
#242AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#242AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242AA8
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242AA8 | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #242aa8; /* rgb */ color: rgb(36, 42, 168); /* oklch */ color: oklch(38.3% 0.195 270.7);
Tailwind
colors: {
custom: {
50: '#7765c3',
500: '#242aa8',
950: '#000000',
},
}SCSS
$custom: #242aa8; $custom-light: #7765c3; $custom-dark: #000000;
JSON
{
"hex": "#242aa8",
"rgb": {
"r": 36,
"g": 42,
"b": 168
},
"hsl": {
"h": 237.273,
"s": 64.706,
"l": 40
},
"oklch": {
"l": 0.38264,
"c": 0.19475,
"h": 270.7
},
"luminance": 0.04858
}Semantic roles & 50–950 ramp
primary
#242AA8
secondary
#C4C063
accent
#E040E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82