#2F3CB8#2F3CB8
#2F3CB8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.193 H 270.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CB8 |
|---|---|
| RGB | rgb(47, 60, 184) |
| HSL | hsl(234, 59%, 45%) |
| HSV | hsv(234, 74%, 72%) |
| CMYK | cmyk(74.5%, 67.4%, 0%, 27.8%) |
| CIE-LAB | lab(32.47, 37.92, -66.66) |
| CIE-LCH | lch(32.47, 76.69, 299.64°) |
| OKLab | oklab(43.32% 0.003 -0.1928) |
| OKLCH | oklch(43.32% 0.193 270.9) |
| XYZ | xyz(11.4369, 7.2955, 46.1435) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.49
Blue Blue
#2242C7
ΔE00 2.71
Ocean Blue
#4F42B5
ΔE00 4.18
Blue With A Hint Of Purple
#533CC6
ΔE00 5.10
Blue (survey)
#0343DF
ΔE00 5.26
Blurple
#5539CC
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CB8 #B8AB2F
analogous
#2F80B8 #2F3CB8 #672FB8
triadic
#2F3CB8 #B82F3C #3CB82F
tetradic
#2F3CB8 #B82F80 #B8AB2F #2FB867
square
#2F3CB8 #B82F80 #B8AB2F #2FB867
split-complementary
#2F3CB8 #B8672F #80B82F
monochromatic
#161C57 #232C87 #2F3CB8 #525ED3 #828BDF
Accessibility & contrast
On white
8.54
#2F3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2F3CB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CB8
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CB8 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f3cb8; /* rgb */ color: rgb(47, 60, 184); /* oklch */ color: oklch(43.3% 0.193 270.9);
Tailwind
colors: {
custom: {
50: '#7d72ce',
500: '#2f3cb8',
950: '#000000',
},
}SCSS
$custom: #2f3cb8; $custom-light: #7d72ce; $custom-dark: #000000;
JSON
{
"hex": "#2f3cb8",
"rgb": {
"r": 47,
"g": 60,
"b": 184
},
"hsl": {
"h": 234.307,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.43324,
"c": 0.19284,
"h": 270.9
},
"luminance": 0.07297
}Semantic roles & 50–950 ramp
primary
#2F3CB8
secondary
#C8C17B
accent
#D445E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82