#2F3AB8#2F3AB8
#2F3AB8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.195 H 271.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3AB8 |
|---|---|
| RGB | rgb(47, 58, 184) |
| HSL | hsl(235, 59%, 45%) |
| HSV | hsv(235, 74%, 72%) |
| CMYK | cmyk(74.5%, 68.5%, 0%, 27.8%) |
| CIE-LAB | lab(32.01, 39.16, -67.41) |
| CIE-LCH | lch(32.01, 77.96, 300.15°) |
| OKLab | oklab(42.99% 0.0041 -0.195) |
| OKLCH | oklch(42.99% 0.195 271.2) |
| XYZ | xyz(11.3341, 7.0899, 46.1093) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.42
Blue Blue
#2242C7
ΔE00 3.12
Ocean Blue
#4F42B5
ΔE00 4.30
Blue With A Hint Of Purple
#533CC6
ΔE00 5.02
Blue (survey)
#0343DF
ΔE00 5.51
Blurple
#5539CC
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3AB8 #B8AD2F
analogous
#2F7FB8 #2F3AB8 #682FB8
triadic
#2F3AB8 #B82F3A #3AB82F
tetradic
#2F3AB8 #B82F7F #B8AD2F #2FB868
square
#2F3AB8 #B82F7F #B8AD2F #2FB868
split-complementary
#2F3AB8 #B8682F #7FB82F
monochromatic
#161B57 #232B87 #2F3AB8 #525CD3 #828ADF
Accessibility & contrast
On white
8.68
#2F3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2F3AB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3AB8
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3AB8 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3ab8; /* rgb */ color: rgb(47, 58, 184); /* oklch */ color: oklch(43.0% 0.195 271.2);
Tailwind
colors: {
custom: {
50: '#7d70ce',
500: '#2f3ab8',
950: '#000000',
},
}SCSS
$custom: #2f3ab8; $custom-light: #7d70ce; $custom-dark: #000000;
JSON
{
"hex": "#2f3ab8",
"rgb": {
"r": 47,
"g": 58,
"b": 184
},
"hsl": {
"h": 235.182,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.4299,
"c": 0.19507,
"h": 271.2
},
"luminance": 0.07091
}Semantic roles & 50–950 ramp
primary
#2F3AB8
secondary
#C8C27B
accent
#D645E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82