#2F3AB7#2F3AB7
#2F3AB7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.194 H 271.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3AB7 |
|---|---|
| RGB | rgb(47, 58, 183) |
| HSL | hsl(235, 59%, 45%) |
| HSV | hsv(235, 74%, 72%) |
| CMYK | cmyk(74.3%, 68.3%, 0%, 28.2%) |
| CIE-LAB | lab(31.92, 38.81, -66.98) |
| CIE-LCH | lch(31.92, 77.41, 300.09°) |
| OKLab | oklab(42.89% 0.0042 -0.1937) |
| OKLCH | oklch(42.89% 0.194 271.3) |
| XYZ | xyz(11.2297, 7.0482, 45.5592) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.30
Blue Blue
#2242C7
ΔE00 3.19
Ocean Blue
#4F42B5
ΔE00 4.31
Blue With A Hint Of Purple
#533CC6
ΔE00 5.10
Blue (survey)
#0343DF
ΔE00 5.62
Blurple
#5539CC
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3AB7 #B7AC2F
analogous
#2F7EB7 #2F3AB7 #682FB7
triadic
#2F3AB7 #B72F3A #3AB72F
tetradic
#2F3AB7 #B72F7E #B7AC2F #2FB768
square
#2F3AB7 #B72F7E #B7AC2F #2FB768
split-complementary
#2F3AB7 #B7682F #7EB72F
monochromatic
#161B56 #222B86 #2F3AB7 #515BD2 #8289DF
Accessibility & contrast
On white
8.71
#2F3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2F3AB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3AB7
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3AB7 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3ab7; /* rgb */ color: rgb(47, 58, 183); /* oklch */ color: oklch(42.9% 0.194 271.3);
Tailwind
colors: {
custom: {
50: '#7c70ce',
500: '#2f3ab7',
950: '#000000',
},
}SCSS
$custom: #2f3ab7; $custom-light: #7c70ce; $custom-dark: #000000;
JSON
{
"hex": "#2f3ab7",
"rgb": {
"r": 47,
"g": 58,
"b": 183
},
"hsl": {
"h": 235.147,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.42893,
"c": 0.1938,
"h": 271.3
},
"luminance": 0.07049
}Semantic roles & 50–950 ramp
primary
#2F3AB7
secondary
#C8C27A
accent
#D645E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82