#2F3BAB#2F3BAB
#2F3BAB is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.177 H 271.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3BAB |
|---|---|
| RGB | rgb(47, 59, 171) |
| HSL | hsl(234, 57%, 43%) |
| HSV | hsv(234, 73%, 67%) |
| CMYK | cmyk(72.5%, 65.5%, 0%, 32.9%) |
| CIE-LAB | lab(31.05, 33.92, -61.26) |
| CIE-LCH | lch(31.05, 70.02, 298.97°) |
| OKLab | oklab(41.92% 0.0046 -0.177) |
| OKLCH | oklch(41.92% 0.177 271.5) |
| XYZ | xyz(10.0845, 6.6715, 39.2764) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.39
Blue Blue
#2242C7
ΔE00 4.18
Ocean Blue
#4F42B5
ΔE00 4.75
Blueberry
#464196
ΔE00 4.87
Cobalt
#0047AB
ΔE00 6.01
Blue With A Hint Of Purple
#533CC6
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3BAB #AB9F2F
analogous
#2F79AB #2F3BAB #612FAB
triadic
#2F3BAB #AB2F3B #3BAB2F
tetradic
#2F3BAB #AB2F79 #AB9F2F #2FAB61
square
#2F3BAB #AB2F79 #AB9F2F #2FAB61
split-complementary
#2F3BAB #AB612F #79AB2F
monochromatic
#151A4B #222A7B #2F3BAB #4A57CD #7A83DA
Accessibility & contrast
On white
9.00
#2F3BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F3BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3BAB
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3BAB | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3bab; /* rgb */ color: rgb(47, 59, 171); /* oklch */ color: oklch(41.9% 0.177 271.5);
Tailwind
colors: {
custom: {
50: '#7a71c5',
500: '#2f3bab',
950: '#000000',
},
}SCSS
$custom: #2f3bab; $custom-light: #7a71c5; $custom-dark: #000000;
JSON
{
"hex": "#2f3bab",
"rgb": {
"r": 47,
"g": 59,
"b": 171
},
"hsl": {
"h": 234.194,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.41923,
"c": 0.17708,
"h": 271.5
},
"luminance": 0.06673
}Semantic roles & 50–950 ramp
primary
#2F3BAB
secondary
#C3BB73
accent
#D148E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82