#2F3DA8#2F3DA8
#2F3DA8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.171 H 271.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3DA8 |
|---|---|
| RGB | rgb(47, 61, 168) |
| HSL | hsl(233, 56%, 42%) |
| HSV | hsv(233, 72%, 66%) |
| CMYK | cmyk(72%, 63.7%, 0%, 34.1%) |
| CIE-LAB | lab(31.27, 31.54, -59.09) |
| CIE-LCH | lch(31.27, 66.98, 298.09°) |
| OKLab | oklab(42.01% 0.0034 -0.1706) |
| OKLCH | oklch(42.01% 0.171 271.2) |
| XYZ | xyz(9.9065, 6.7680, 37.8225) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.74
Blue Blue
#2242C7
ΔE00 4.31
Blueberry
#464196
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 4.93
Cobalt
#0047AB
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3DA8 #A89A2F
analogous
#2F7AA8 #2F3DA8 #5E2FA8
triadic
#2F3DA8 #A82F3D #3DA82F
tetradic
#2F3DA8 #A82F7A #A89A2F #2FA85E
square
#2F3DA8 #A82F7A #A89A2F #2FA85E
split-complementary
#2F3DA8 #A85E2F #7AA82F
monochromatic
#141A48 #222C78 #2F3DA8 #4858CC #7883D9
Accessibility & contrast
On white
8.92
#2F3DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F3DA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3DA8
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3DA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3DA8 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3da8; /* rgb */ color: rgb(47, 61, 168); /* oklch */ color: oklch(42.0% 0.171 271.2);
Tailwind
colors: {
custom: {
50: '#7972c3',
500: '#2f3da8',
950: '#000000',
},
}SCSS
$custom: #2f3da8; $custom-light: #7972c3; $custom-dark: #000000;
JSON
{
"hex": "#2f3da8",
"rgb": {
"r": 47,
"g": 61,
"b": 168
},
"hsl": {
"h": 233.058,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.42007,
"c": 0.17068,
"h": 271.2
},
"luminance": 0.06769
}Semantic roles & 50–950 ramp
primary
#2F3DA8
secondary
#C1B871
accent
#CE48E0
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82