#2F3DA1#2F3DA1
#2F3DA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.161 H 271.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3DA1 |
|---|---|
| RGB | rgb(47, 61, 161) |
| HSL | hsl(233, 55%, 41%) |
| HSV | hsv(233, 71%, 63%) |
| CMYK | cmyk(70.8%, 62.1%, 0%, 36.9%) |
| CIE-LAB | lab(30.67, 28.99, -55.85) |
| CIE-LCH | lch(30.67, 62.92, 297.43°) |
| OKLab | oklab(41.38% 0.0037 -0.1612) |
| OKLCH | oklch(41.38% 0.161 271.3) |
| XYZ | xyz(9.2719, 6.5141, 34.4800) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.24
Blueberry
#464196
ΔE00 4.04
Blue Blue
#2242C7
ΔE00 5.24
Cobalt
#0047AB
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3DA1 #A1932F
analogous
#2F76A1 #2F3DA1 #5A2FA1
triadic
#2F3DA1 #A12F3D #3DA12F
tetradic
#2F3DA1 #A12F76 #A1932F #2FA15A
square
#2F3DA1 #A12F76 #A1932F #2FA15A
split-complementary
#2F3DA1 #A15A2F #76A12F
monochromatic
#131942 #212B72 #2F3DA1 #4555C9 #7480D6
Accessibility & contrast
On white
9.12
#2F3DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F3DA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3DA1
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3DA1 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f3da1; /* rgb */ color: rgb(47, 61, 161); /* oklch */ color: oklch(41.4% 0.161 271.3);
Tailwind
colors: {
custom: {
50: '#7772be',
500: '#2f3da1',
950: '#000000',
},
}SCSS
$custom: #2f3da1; $custom-light: #7772be; $custom-dark: #000000;
JSON
{
"hex": "#2f3da1",
"rgb": {
"r": 47,
"g": 61,
"b": 161
},
"hsl": {
"h": 232.632,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.4138,
"c": 0.1612,
"h": 271.3
},
"luminance": 0.06515
}Semantic roles & 50–950 ramp
primary
#2F3DA1
secondary
#BEB46E
accent
#CC4ADE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81