#2F3BAE#2F3BAE
#2F3BAE is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.181 H 271.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3BAE |
|---|---|
| RGB | rgb(47, 59, 174) |
| HSL | hsl(234, 57%, 43%) |
| HSV | hsv(234, 73%, 68%) |
| CMYK | cmyk(73%, 66.1%, 0%, 31.8%) |
| CIE-LAB | lab(31.32, 34.99, -62.61) |
| CIE-LCH | lch(31.32, 71.72, 299.20°) |
| OKLab | oklab(42.2% 0.0044 -0.181) |
| OKLCH | oklch(42.2% 0.181 271.4) |
| XYZ | xyz(10.3736, 6.7872, 40.7995) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.50
Blue Blue
#2242C7
ΔE00 3.84
Ocean Blue
#4F42B5
ΔE00 4.57
Blueberry
#464196
ΔE00 5.13
Blue With A Hint Of Purple
#533CC6
ΔE00 5.99
Cobalt
#0047AB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3BAE #AEA22F
analogous
#2F7AAE #2F3BAE #622FAE
triadic
#2F3BAE #AE2F3B #3BAE2F
tetradic
#2F3BAE #AE2F7A #AEA22F #2FAE62
square
#2F3BAE #AE2F7A #AEA22F #2FAE62
split-complementary
#2F3BAE #AE622F #7AAE2F
monochromatic
#151A4E #222B7E #2F3BAE #4C58CF #7C85DC
Accessibility & contrast
On white
8.91
#2F3BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F3BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3BAE
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3BAE | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3bae; /* rgb */ color: rgb(47, 59, 174); /* oklch */ color: oklch(42.2% 0.181 271.4);
Tailwind
colors: {
custom: {
50: '#7a71c7',
500: '#2f3bae',
950: '#000000',
},
}SCSS
$custom: #2f3bae; $custom-light: #7a71c7; $custom-dark: #000000;
JSON
{
"hex": "#2f3bae",
"rgb": {
"r": 47,
"g": 59,
"b": 174
},
"hsl": {
"h": 234.331,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.42203,
"c": 0.18103,
"h": 271.4
},
"luminance": 0.06788
}Semantic roles & 50–950 ramp
primary
#2F3BAE
secondary
#C4BD75
accent
#D247E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82