#2F33A9#2F33A9
#2F33A9 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.184 H 273.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33A9 |
|---|---|
| RGB | rgb(47, 51, 169) |
| HSL | hsl(238, 56%, 42%) |
| HSV | hsv(238, 72%, 66%) |
| CMYK | cmyk(72.2%, 69.8%, 0%, 33.7%) |
| CIE-LAB | lab(28.99, 38.23, -63.42) |
| CIE-LCH | lch(28.99, 74.05, 301.08°) |
| OKLab | oklab(40.38% 0.01 -0.1834) |
| OKLCH | oklch(40.38% 0.184 273.1) |
| XYZ | xyz(9.5151, 5.8356, 38.1534) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.21
Ocean Blue
#4F42B5
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.77
Blueberry
#464196
ΔE00 5.77
Indigo Blue
#3A18B1
ΔE00 5.96
Blue With A Hint Of Purple
#533CC6
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33A9 #A9A52F
analogous
#2F70A9 #2F33A9 #682FA9
triadic
#2F33A9 #A92F33 #33A92F
tetradic
#2F33A9 #A92F70 #A9A52F #2FA968
square
#2F33A9 #A92F70 #A9A52F #2FA968
split-complementary
#2F33A9 #A9682F #70A92F
monochromatic
#141649 #222579 #2F33A9 #494DCC #797CDA
Accessibility & contrast
On white
9.69
#2F33A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2F33A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33A9
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33A9 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f33a9; /* rgb */ color: rgb(47, 51, 169); /* oklch */ color: oklch(40.4% 0.184 273.1);
Tailwind
colors: {
custom: {
50: '#7a6bc4',
500: '#2f33a9',
950: '#000000',
},
}SCSS
$custom: #2f33a9; $custom-light: #7a6bc4; $custom-dark: #000000;
JSON
{
"hex": "#2f33a9",
"rgb": {
"r": 47,
"g": 51,
"b": 169
},
"hsl": {
"h": 238.033,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.40375,
"c": 0.18366,
"h": 273.1
},
"luminance": 0.05837
}Semantic roles & 50–950 ramp
primary
#2F33A9
secondary
#C2BF72
accent
#DB48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82