#2F3AB6#2F3AB6
#2F3AB6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.193 H 271.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3AB6 |
|---|---|
| RGB | rgb(47, 58, 182) |
| HSL | hsl(235, 59%, 45%) |
| HSV | hsv(235, 74%, 71%) |
| CMYK | cmyk(74.2%, 68.1%, 0%, 28.6%) |
| CIE-LAB | lab(31.82, 38.46, -66.54) |
| CIE-LCH | lch(31.82, 76.85, 300.03°) |
| OKLab | oklab(42.8% 0.0043 -0.1925) |
| OKLCH | oklch(42.8% 0.193 271.3) |
| XYZ | xyz(11.1260, 7.0067, 45.0130) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.19
Blue Blue
#2242C7
ΔE00 3.27
Ocean Blue
#4F42B5
ΔE00 4.33
Blue With A Hint Of Purple
#533CC6
ΔE00 5.19
Blue (survey)
#0343DF
ΔE00 5.73
Blurple
#5539CC
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3AB6 #B6AB2F
analogous
#2F7EB6 #2F3AB6 #672FB6
triadic
#2F3AB6 #B62F3A #3AB62F
tetradic
#2F3AB6 #B62F7E #B6AB2F #2FB667
square
#2F3AB6 #B62F7E #B6AB2F #2FB667
split-complementary
#2F3AB6 #B6672F #7EB62F
monochromatic
#161B55 #222A85 #2F3AB6 #505BD2 #8189DE
Accessibility & contrast
On white
8.74
#2F3AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F3AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3AB6
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3AB6 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3ab6; /* rgb */ color: rgb(47, 58, 182); /* oklch */ color: oklch(42.8% 0.193 271.3);
Tailwind
colors: {
custom: {
50: '#7c70cd',
500: '#2f3ab6',
950: '#000000',
},
}SCSS
$custom: #2f3ab6; $custom-light: #7c70cd; $custom-dark: #000000;
JSON
{
"hex": "#2f3ab6",
"rgb": {
"r": 47,
"g": 58,
"b": 182
},
"hsl": {
"h": 235.111,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.42796,
"c": 0.19253,
"h": 271.3
},
"luminance": 0.07008
}Semantic roles & 50–950 ramp
primary
#2F3AB6
secondary
#C7C179
accent
#D546E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82