#2F33B4#2F33B4
#2F33B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.198 H 272.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33B4 |
|---|---|
| RGB | rgb(47, 51, 180) |
| HSL | hsl(238, 59%, 45%) |
| HSV | hsv(238, 74%, 71%) |
| CMYK | cmyk(73.9%, 71.7%, 0%, 29.4%) |
| CIE-LAB | lab(30.07, 42.01, -68.23) |
| CIE-LCH | lch(30.07, 80.12, 301.62°) |
| OKLab | oklab(41.48% 0.0084 -0.1974) |
| OKLCH | oklch(41.48% 0.198 272.4) |
| XYZ | xyz(10.5916, 6.2662, 43.8225) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.72
Blue Blue
#2242C7
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 5.23
Blue With A Hint Of Purple
#533CC6
ΔE00 5.53
Indigo Blue
#3A18B1
ΔE00 5.69
Blurple
#5539CC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33B4 #B4B02F
analogous
#2F76B4 #2F33B4 #6D2FB4
triadic
#2F33B4 #B42F33 #33B42F
tetradic
#2F33B4 #B42F76 #B4B02F #2FB46D
square
#2F33B4 #B42F76 #B4B02F #2FB46D
split-complementary
#2F33B4 #B46D2F #76B42F
monochromatic
#161853 #222583 #2F33B4 #4F53D1 #8082DE
Accessibility & contrast
On white
9.32
#2F33B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F33B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33B4
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33B4 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f33b4; /* rgb */ color: rgb(47, 51, 180); /* oklch */ color: oklch(41.5% 0.198 272.4);
Tailwind
colors: {
custom: {
50: '#7c6ccc',
500: '#2f33b4',
950: '#000000',
},
}SCSS
$custom: #2f33b4; $custom-light: #7c6ccc; $custom-dark: #000000;
JSON
{
"hex": "#2f33b4",
"rgb": {
"r": 47,
"g": 51,
"b": 180
},
"hsl": {
"h": 238.195,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.41477,
"c": 0.19758,
"h": 272.4
},
"luminance": 0.06267
}Semantic roles & 50–950 ramp
primary
#2F33B4
secondary
#C7C478
accent
#DD46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82