#2F3BA0#2F3BA0
#2F3BA0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.162 H 271.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3BA0 |
|---|---|
| RGB | rgb(47, 59, 160) |
| HSL | hsl(234, 55%, 41%) |
| HSV | hsv(234, 71%, 63%) |
| CMYK | cmyk(70.6%, 63.1%, 0%, 37.3%) |
| CIE-LAB | lab(30.08, 29.93, -56.21) |
| CIE-LCH | lch(30.08, 63.68, 298.04°) |
| OKLab | oklab(40.92% 0.0053 -0.1622) |
| OKLCH | oklch(40.92% 0.162 271.9) |
| XYZ | xyz(9.0793, 6.2695, 33.9825) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.04
Blueberry
#464196
ΔE00 4.08
Blue Blue
#2242C7
ΔE00 5.53
Darkslateblue
#483D8B
ΔE00 5.59
Ocean Blue
#4F42B5
ΔE00 5.64
Cobalt
#0047AB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3BA0 #A0942F
analogous
#2F73A0 #2F3BA0 #5B2FA0
triadic
#2F3BA0 #A02F3B #3BA02F
tetradic
#2F3BA0 #A02F73 #A0942F #2FA05B
square
#2F3BA0 #A02F73 #A0942F #2FA05B
split-complementary
#2F3BA0 #A05B2F #73A02F
monochromatic
#131841 #212A71 #2F3BA0 #4452C8 #737ED6
Accessibility & contrast
On white
9.32
#2F3BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F3BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3BA0
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3BA0 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3ba0; /* rgb */ color: rgb(47, 59, 160); /* oklch */ color: oklch(40.9% 0.162 271.9);
Tailwind
colors: {
custom: {
50: '#7771bd',
500: '#2f3ba0',
950: '#000000',
},
}SCSS
$custom: #2f3ba0; $custom-light: #7771bd; $custom-dark: #000000;
JSON
{
"hex": "#2f3ba0",
"rgb": {
"r": 47,
"g": 59,
"b": 160
},
"hsl": {
"h": 233.628,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.40917,
"c": 0.16232,
"h": 271.9
},
"luminance": 0.0627
}Semantic roles & 50–950 ramp
primary
#2F3BA0
secondary
#BEB56D
accent
#CE4ADE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81