#2F24AA#2F24AA
#2F24AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.200 H 275.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F24AA |
|---|---|
| RGB | rgb(47, 36, 170) |
| HSL | hsl(245, 65%, 40%) |
| HSV | hsv(245, 79%, 67%) |
| CMYK | cmyk(72.4%, 78.8%, 0%, 33.3%) |
| CIE-LAB | lab(26.06, 47.07, -68.86) |
| CIE-LCH | lch(26.06, 83.41, 304.35°) |
| OKLab | oklab(38.32% 0.0176 -0.1991) |
| OKLCH | oklch(38.32% 0.2 275) |
| XYZ | xyz(9.0565, 4.7675, 38.4653) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.56
Ultramarine
#2000B1
ΔE00 4.74
Cobalt Blue
#030AA7
ΔE00 4.78
True Blue
#010FCC
ΔE00 4.78
Royal
#0C1793
ΔE00 4.95
Royal Blue (survey)
#0504AA
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F24AA #9FAA24
analogous
#245CAA #2F24AA #7224AA
triadic
#2F24AA #AA2F24 #24AA2F
tetradic
#2F24AA #AA245C #9FAA24 #24AA72
square
#2F24AA #AA245C #9FAA24 #24AA72
split-complementary
#2F24AA #AA7224 #5CAA24
monochromatic
#130F45 #211977 #2F24AA #4437D5 #7369DF
Accessibility & contrast
On white
10.75
#2F24AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2F24AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F24AA
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F24AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F24AA | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0038A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f24aa; /* rgb */ color: rgb(47, 36, 170); /* oklch */ color: oklch(38.3% 0.200 275.0);
Tailwind
colors: {
custom: {
50: '#7b62c5',
500: '#2f24aa',
950: '#000000',
},
}SCSS
$custom: #2f24aa; $custom-light: #7b62c5; $custom-dark: #000000;
JSON
{
"hex": "#2f24aa",
"rgb": {
"r": 47,
"g": 36,
"b": 170
},
"hsl": {
"h": 244.925,
"s": 65.049,
"l": 40.392
},
"oklch": {
"l": 0.38323,
"c": 0.19991,
"h": 275
},
"luminance": 0.04768
}Semantic roles & 50–950 ramp
primary
#2F24AA
secondary
#BDC565
accent
#E840DA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982