#2F24A8#2F24A8
#2F24A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.198 H 275.2°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F24A8 |
|---|---|
| RGB | rgb(47, 36, 168) |
| HSL | hsl(245, 65%, 40%) |
| HSV | hsv(245, 79%, 66%) |
| CMYK | cmyk(72%, 78.6%, 0%, 34.1%) |
| CIE-LAB | lab(25.84, 46.44, -68.02) |
| CIE-LCH | lch(25.84, 82.36, 304.32°) |
| OKLab | oklab(38.1% 0.0181 -0.1967) |
| OKLCH | oklch(38.1% 0.198 275.2) |
| XYZ | xyz(8.8687, 4.6924, 37.4765) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.68
Cobalt Blue
#030AA7
ΔE00 4.73
Royal
#0C1793
ΔE00 4.76
Ultramarine
#2000B1
ΔE00 4.77
True Blue
#010FCC
ΔE00 4.99
Royal Blue (survey)
#0504AA
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F24A8 #9DA824
analogous
#245BA8 #2F24A8 #7124A8
triadic
#2F24A8 #A82F24 #24A82F
tetradic
#2F24A8 #A8245B #9DA824 #24A871
square
#2F24A8 #A8245B #9DA824 #24A871
split-complementary
#2F24A8 #A87124 #5BA824
monochromatic
#130E43 #211976 #2F24A8 #4335D4 #7268DF
Accessibility & contrast
On white
10.83
#2F24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F24A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F24A8
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F24A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F24A8 | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f24a8; /* rgb */ color: rgb(47, 36, 168); /* oklch */ color: oklch(38.1% 0.198 275.2);
Tailwind
colors: {
custom: {
50: '#7b62c3',
500: '#2f24a8',
950: '#000000',
},
}SCSS
$custom: #2f24a8; $custom-light: #7b62c3; $custom-dark: #000000;
JSON
{
"hex": "#2f24a8",
"rgb": {
"r": 47,
"g": 36,
"b": 168
},
"hsl": {
"h": 245,
"s": 64.706,
"l": 40
},
"oklch": {
"l": 0.38102,
"c": 0.19753,
"h": 275.2
},
"luminance": 0.04693
}Semantic roles & 50–950 ramp
primary
#2F24A8
secondary
#BCC463
accent
#E840DA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982