#2F3BAF#2F3BAF
#2F3BAF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.182 H 271.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3BAF |
|---|---|
| RGB | rgb(47, 59, 175) |
| HSL | hsl(234, 58%, 44%) |
| HSV | hsv(234, 73%, 69%) |
| CMYK | cmyk(73.1%, 66.3%, 0%, 31.4%) |
| CIE-LAB | lab(31.41, 35.35, -63.05) |
| CIE-LCH | lch(31.41, 72.29, 299.28°) |
| OKLab | oklab(42.3% 0.0044 -0.1823) |
| OKLCH | oklch(42.3% 0.182 271.4) |
| XYZ | xyz(10.4715, 6.8263, 41.3149) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.56
Blue Blue
#2242C7
ΔE00 3.74
Ocean Blue
#4F42B5
ΔE00 4.52
Blueberry
#464196
ΔE00 5.23
Blue With A Hint Of Purple
#533CC6
ΔE00 5.89
Cobalt
#0047AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3BAF #AFA32F
analogous
#2F7BAF #2F3BAF #632FAF
triadic
#2F3BAF #AF2F3B #3BAF2F
tetradic
#2F3BAF #AF2F7B #AFA32F #2FAF63
square
#2F3BAF #AF2F7B #AFA32F #2FAF63
split-complementary
#2F3BAF #AF632F #7BAF2F
monochromatic
#151A4F #222B7F #2F3BAF #4C58CF #7C85DC
Accessibility & contrast
On white
8.88
#2F3BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2F3BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3BAF
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3BAF | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3baf; /* rgb */ color: rgb(47, 59, 175); /* oklch */ color: oklch(42.3% 0.182 271.4);
Tailwind
colors: {
custom: {
50: '#7a71c8',
500: '#2f3baf',
950: '#000000',
},
}SCSS
$custom: #2f3baf; $custom-light: #7a71c8; $custom-dark: #000000;
JSON
{
"hex": "#2f3baf",
"rgb": {
"r": 47,
"g": 59,
"b": 175
},
"hsl": {
"h": 234.375,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.42298,
"c": 0.18234,
"h": 271.4
},
"luminance": 0.06827
}Semantic roles & 50–950 ramp
primary
#2F3BAF
secondary
#C4BD75
accent
#D247E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82