#2F33AB#2F33AB
#2F33AB is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.186 H 273.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33AB |
|---|---|
| RGB | rgb(47, 51, 171) |
| HSL | hsl(238, 57%, 43%) |
| HSV | hsv(238, 73%, 67%) |
| CMYK | cmyk(72.5%, 70.2%, 0%, 32.9%) |
| CIE-LAB | lab(29.19, 38.92, -64.31) |
| CIE-LCH | lch(29.19, 75.17, 301.18°) |
| OKLab | oklab(40.57% 0.0097 -0.186) |
| OKLCH | oklch(40.57% 0.186 273) |
| XYZ | xyz(9.7043, 5.9113, 39.1497) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.24
Ocean Blue
#4F42B5
ΔE00 5.54
Blue Blue
#2242C7
ΔE00 5.60
Indigo Blue
#3A18B1
ΔE00 5.88
Blueberry
#464196
ΔE00 5.92
Blue With A Hint Of Purple
#533CC6
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33AB #ABA72F
analogous
#2F71AB #2F33AB #692FAB
triadic
#2F33AB #AB2F33 #33AB2F
tetradic
#2F33AB #AB2F71 #ABA72F #2FAB69
square
#2F33AB #AB2F71 #ABA72F #2FAB69
split-complementary
#2F33AB #AB692F #71AB2F
monochromatic
#15164B #22257B #2F33AB #4A4ECD #7A7DDA
Accessibility & contrast
On white
9.62
#2F33AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2F33AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33AB
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33AB | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f33ab; /* rgb */ color: rgb(47, 51, 171); /* oklch */ color: oklch(40.6% 0.186 273.0);
Tailwind
colors: {
custom: {
50: '#7a6bc5',
500: '#2f33ab',
950: '#000000',
},
}SCSS
$custom: #2f33ab; $custom-light: #7a6bc5; $custom-dark: #000000;
JSON
{
"hex": "#2f33ab",
"rgb": {
"r": 47,
"g": 51,
"b": 171
},
"hsl": {
"h": 238.065,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.40573,
"c": 0.18622,
"h": 273
},
"luminance": 0.05912
}Semantic roles & 50–950 ramp
primary
#2F33AB
secondary
#C3C073
accent
#DB48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82