#2F33B3#2F33B3
#2F33B3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.196 H 272.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33B3 |
|---|---|
| RGB | rgb(47, 51, 179) |
| HSL | hsl(238, 58%, 44%) |
| HSV | hsv(238, 74%, 70%) |
| CMYK | cmyk(73.7%, 71.5%, 0%, 29.8%) |
| CIE-LAB | lab(29.97, 41.67, -67.79) |
| CIE-LCH | lch(29.97, 79.58, 301.58°) |
| OKLab | oklab(41.38% 0.0086 -0.1961) |
| OKLCH | oklch(41.38% 0.196 272.5) |
| XYZ | xyz(10.4901, 6.2256, 43.2879) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.64
Blue Blue
#2242C7
ΔE00 5.00
Ocean Blue
#4F42B5
ΔE00 5.25
Blue With A Hint Of Purple
#533CC6
ΔE00 5.62
Indigo Blue
#3A18B1
ΔE00 5.69
Blurple
#5539CC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33B3 #B3AF2F
analogous
#2F75B3 #2F33B3 #6D2FB3
triadic
#2F33B3 #B32F33 #33B32F
tetradic
#2F33B3 #B32F75 #B3AF2F #2FB36D
square
#2F33B3 #B32F75 #B3AF2F #2FB36D
split-complementary
#2F33B3 #B36D2F #75B32F
monochromatic
#161752 #222583 #2F33B3 #4F52D1 #7F82DD
Accessibility & contrast
On white
9.35
#2F33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F33B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33B3
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33B3 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f33b3; /* rgb */ color: rgb(47, 51, 179); /* oklch */ color: oklch(41.4% 0.196 272.5);
Tailwind
colors: {
custom: {
50: '#7c6ccb',
500: '#2f33b3',
950: '#000000',
},
}SCSS
$custom: #2f33b3; $custom-light: #7c6ccb; $custom-dark: #000000;
JSON
{
"hex": "#2f33b3",
"rgb": {
"r": 47,
"g": 51,
"b": 179
},
"hsl": {
"h": 238.182,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.41376,
"c": 0.19634,
"h": 272.5
},
"luminance": 0.06227
}Semantic roles & 50–950 ramp
primary
#2F33B3
secondary
#C6C478
accent
#DD46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82