#242BA8#242BA8
#242BA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.194 H 270.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #242BA8 |
|---|---|
| RGB | rgb(36, 43, 168) |
| HSL | hsl(237, 65%, 40%) |
| HSV | hsv(237, 79%, 66%) |
| CMYK | cmyk(78.6%, 74.4%, 0%, 34.1%) |
| CIE-LAB | lab(26.53, 41.64, -66.90) |
| CIE-LCH | lch(26.53, 78.80, 301.90°) |
| OKLab | oklab(38.41% 0.0019 -0.1937) |
| OKLCH | oklch(38.41% 0.194 270.6) |
| XYZ | xyz(8.6569, 4.9290, 37.5333) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.68
Indigo Blue
#3A18B1
ΔE00 4.63
Royal
#0C1793
ΔE00 5.44
True Blue
#010FCC
ΔE00 5.94
Cobalt Blue
#030AA7
ΔE00 6.01
Ultramarine
#2000B1
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242BA8 #A8A124
analogous
#246DA8 #242BA8 #5F24A8
triadic
#242BA8 #A8242B #2BA824
tetradic
#242BA8 #A8246D #A8A124 #24A85F
square
#242BA8 #A8246D #A8A124 #24A85F
split-complementary
#242BA8 #A85F24 #6DA824
monochromatic
#0E1143 #191E76 #242BA8 #353ED4 #686EDF
Accessibility & contrast
On white
10.57
#242BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#242BA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242BA8
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242BA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242BA8 | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #242ba8; /* rgb */ color: rgb(36, 43, 168); /* oklch */ color: oklch(38.4% 0.194 270.6);
Tailwind
colors: {
custom: {
50: '#7666c3',
500: '#242ba8',
950: '#000000',
},
}SCSS
$custom: #242ba8; $custom-light: #7666c3; $custom-dark: #000000;
JSON
{
"hex": "#242ba8",
"rgb": {
"r": 36,
"g": 43,
"b": 168
},
"hsl": {
"h": 236.818,
"s": 64.706,
"l": 40
},
"oklch": {
"l": 0.38412,
"c": 0.19376,
"h": 270.6
},
"luminance": 0.0493
}Semantic roles & 50–950 ramp
primary
#242BA8
secondary
#C4BF63
accent
#DF40E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82