#2F32B3#2F32B3
#2F32B3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.197 H 272.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F32B3 |
|---|---|
| RGB | rgb(47, 50, 179) |
| HSL | hsl(239, 58%, 44%) |
| HSV | hsv(239, 74%, 70%) |
| CMYK | cmyk(73.7%, 72.1%, 0%, 29.8%) |
| CIE-LAB | lab(29.76, 42.26, -68.15) |
| CIE-LCH | lch(29.76, 80.19, 301.81°) |
| OKLab | oklab(41.22% 0.0091 -0.1972) |
| OKLCH | oklch(41.22% 0.197 272.6) |
| XYZ | xyz(10.4468, 6.1391, 43.2735) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.83
Blue Blue
#2242C7
ΔE00 5.23
Ocean Blue
#4F42B5
ΔE00 5.41
Indigo Blue
#3A18B1
ΔE00 5.44
Blue With A Hint Of Purple
#533CC6
ΔE00 5.69
Blurple
#5539CC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F32B3 #B3B02F
analogous
#2F74B3 #2F32B3 #6E2FB3
triadic
#2F32B3 #B32F32 #32B32F
tetradic
#2F32B3 #B32F74 #B3B02F #2FB36E
square
#2F32B3 #B32F74 #B3B02F #2FB36E
split-complementary
#2F32B3 #B36E2F #74B32F
monochromatic
#161752 #222483 #2F32B3 #4F51D1 #7F81DD
Accessibility & contrast
On white
9.43
#2F32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F32B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F32B3
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F32B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F32B3 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f32b3; /* rgb */ color: rgb(47, 50, 179); /* oklch */ color: oklch(41.2% 0.197 272.6);
Tailwind
colors: {
custom: {
50: '#7c6bcb',
500: '#2f32b3',
950: '#000000',
},
}SCSS
$custom: #2f32b3; $custom-light: #7c6bcb; $custom-dark: #000000;
JSON
{
"hex": "#2f32b3",
"rgb": {
"r": 47,
"g": 50,
"b": 179
},
"hsl": {
"h": 238.636,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.41223,
"c": 0.19738,
"h": 272.6
},
"luminance": 0.0614
}Semantic roles & 50–950 ramp
primary
#2F32B3
secondary
#C6C478
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82