#2F3FA8#2F3FA8
#2F3FA8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.168 H 270.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3FA8 |
|---|---|
| RGB | rgb(47, 63, 168) |
| HSL | hsl(232, 56%, 42%) |
| HSV | hsv(232, 72%, 66%) |
| CMYK | cmyk(72%, 62.5%, 0%, 34.1%) |
| CIE-LAB | lab(31.77, 30.24, -58.27) |
| CIE-LCH | lch(31.77, 65.65, 297.43°) |
| OKLab | oklab(42.38% 0.002 -0.1682) |
| OKLCH | oklch(42.38% 0.168 270.7) |
| XYZ | xyz(10.0153, 6.9855, 37.8587) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.22
Blue Blue
#2242C7
ΔE00 4.17
Blueberry
#464196
ΔE00 4.48
Cobalt
#0047AB
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 4.99
Darkslateblue
#483D8B
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3FA8 #A8982F
analogous
#2F7CA8 #2F3FA8 #5C2FA8
triadic
#2F3FA8 #A82F3F #3FA82F
tetradic
#2F3FA8 #A82F7C #A8982F #2FA85C
square
#2F3FA8 #A82F7C #A8982F #2FA85C
split-complementary
#2F3FA8 #A85C2F #7CA82F
monochromatic
#141B48 #222D78 #2F3FA8 #485ACC #7885D9
Accessibility & contrast
On white
8.76
#2F3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F3FA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3FA8
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3FA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3FA8 | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3fa8; /* rgb */ color: rgb(47, 63, 168); /* oklch */ color: oklch(42.4% 0.168 270.7);
Tailwind
colors: {
custom: {
50: '#7974c3',
500: '#2f3fa8',
950: '#000000',
},
}SCSS
$custom: #2f3fa8; $custom-light: #7974c3; $custom-dark: #000000;
JSON
{
"hex": "#2f3fa8",
"rgb": {
"r": 47,
"g": 63,
"b": 168
},
"hsl": {
"h": 232.066,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.42376,
"c": 0.16824,
"h": 270.7
},
"luminance": 0.06987
}Semantic roles & 50–950 ramp
primary
#2F3FA8
secondary
#C1B771
accent
#CC48E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82