#2F33B5#2F33B5
#2F33B5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.199 H 272.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33B5 |
|---|---|
| RGB | rgb(47, 51, 181) |
| HSL | hsl(238, 59%, 45%) |
| HSV | hsv(238, 74%, 71%) |
| CMYK | cmyk(74%, 71.8%, 0%, 29%) |
| CIE-LAB | lab(30.17, 42.35, -68.66) |
| CIE-LCH | lch(30.17, 80.67, 301.67°) |
| OKLab | oklab(41.58% 0.0083 -0.1986) |
| OKLCH | oklch(41.58% 0.199 272.4) |
| XYZ | xyz(10.6938, 6.3071, 44.3609) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.80
Blue Blue
#2242C7
ΔE00 4.88
Ocean Blue
#4F42B5
ΔE00 5.21
Blue With A Hint Of Purple
#533CC6
ΔE00 5.45
Indigo Blue
#3A18B1
ΔE00 5.69
Blurple
#5539CC
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33B5 #B5B12F
analogous
#2F76B5 #2F33B5 #6E2FB5
triadic
#2F33B5 #B52F33 #33B52F
tetradic
#2F33B5 #B52F76 #B5B12F #2FB56E
square
#2F33B5 #B52F76 #B5B12F #2FB56E
split-complementary
#2F33B5 #B56E2F #76B52F
monochromatic
#161854 #222584 #2F33B5 #5054D1 #8083DE
Accessibility & contrast
On white
9.29
#2F33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2F33B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33B5
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33B5 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f33b5; /* rgb */ color: rgb(47, 51, 181); /* oklch */ color: oklch(41.6% 0.199 272.4);
Tailwind
colors: {
custom: {
50: '#7d6ccc',
500: '#2f33b5',
950: '#000000',
},
}SCSS
$custom: #2f33b5; $custom-light: #7d6ccc; $custom-dark: #000000;
JSON
{
"hex": "#2f33b5",
"rgb": {
"r": 47,
"g": 51,
"b": 181
},
"hsl": {
"h": 238.209,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.41579,
"c": 0.19882,
"h": 272.4
},
"luminance": 0.06308
}Semantic roles & 50–950 ramp
primary
#2F33B5
secondary
#C7C579
accent
#DD46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82