#2F3BAD#2F3BAD
#2F3BAD is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.180 H 271.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3BAD |
|---|---|
| RGB | rgb(47, 59, 173) |
| HSL | hsl(234, 57%, 43%) |
| HSV | hsv(234, 73%, 68%) |
| CMYK | cmyk(72.8%, 65.9%, 0%, 32.2%) |
| CIE-LAB | lab(31.23, 34.63, -62.16) |
| CIE-LCH | lch(31.23, 71.15, 299.13°) |
| OKLab | oklab(42.11% 0.0045 -0.1797) |
| OKLCH | oklch(42.11% 0.18 271.4) |
| XYZ | xyz(10.2765, 6.7484, 40.2880) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.45
Blue Blue
#2242C7
ΔE00 3.95
Ocean Blue
#4F42B5
ΔE00 4.63
Blueberry
#464196
ΔE00 5.04
Cobalt
#0047AB
ΔE00 6.07
Blue With A Hint Of Purple
#533CC6
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3BAD #ADA12F
analogous
#2F7AAD #2F3BAD #622FAD
triadic
#2F3BAD #AD2F3B #3BAD2F
tetradic
#2F3BAD #AD2F7A #ADA12F #2FAD62
square
#2F3BAD #AD2F7A #ADA12F #2FAD62
split-complementary
#2F3BAD #AD622F #7AAD2F
monochromatic
#151A4D #222B7D #2F3BAD #4B58CE #7B84DB
Accessibility & contrast
On white
8.94
#2F3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F3BAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3BAD
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3BAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3BAD | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3bad; /* rgb */ color: rgb(47, 59, 173); /* oklch */ color: oklch(42.1% 0.180 271.4);
Tailwind
colors: {
custom: {
50: '#7a71c6',
500: '#2f3bad',
950: '#000000',
},
}SCSS
$custom: #2f3bad; $custom-light: #7a71c6; $custom-dark: #000000;
JSON
{
"hex": "#2f3bad",
"rgb": {
"r": 47,
"g": 59,
"b": 173
},
"hsl": {
"h": 234.286,
"s": 57.273,
"l": 43.137
},
"oklch": {
"l": 0.4211,
"c": 0.17972,
"h": 271.4
},
"luminance": 0.06749
}Semantic roles & 50–950 ramp
primary
#2F3BAD
secondary
#C4BC74
accent
#D247E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82