#2F3DA9#2F3DA9
#2F3DA9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.172 H 271.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3DA9 |
|---|---|
| RGB | rgb(47, 61, 169) |
| HSL | hsl(233, 56%, 42%) |
| HSV | hsv(233, 72%, 66%) |
| CMYK | cmyk(72.2%, 63.9%, 0%, 33.7%) |
| CIE-LAB | lab(31.36, 31.91, -59.54) |
| CIE-LCH | lch(31.36, 67.55, 298.18°) |
| OKLab | oklab(42.1% 0.0034 -0.172) |
| OKLCH | oklch(42.1% 0.172 271.1) |
| XYZ | xyz(10.0000, 6.8054, 38.3150) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.72
Blue Blue
#2242C7
ΔE00 4.18
Blueberry
#464196
ΔE00 4.59
Ocean Blue
#4F42B5
ΔE00 4.86
Cobalt
#0047AB
ΔE00 5.44
Darkslateblue
#483D8B
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3DA9 #A99B2F
analogous
#2F7AA9 #2F3DA9 #5E2FA9
triadic
#2F3DA9 #A92F3D #3DA92F
tetradic
#2F3DA9 #A92F7A #A99B2F #2FA95E
square
#2F3DA9 #A92F7A #A99B2F #2FA95E
split-complementary
#2F3DA9 #A95E2F #7AA92F
monochromatic
#141A49 #222C79 #2F3DA9 #4958CC #7984DA
Accessibility & contrast
On white
8.89
#2F3DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F3DA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3DA9
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3DA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3DA9 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3da9; /* rgb */ color: rgb(47, 61, 169); /* oklch */ color: oklch(42.1% 0.172 271.1);
Tailwind
colors: {
custom: {
50: '#7972c4',
500: '#2f3da9',
950: '#000000',
},
}SCSS
$custom: #2f3da9; $custom-light: #7972c4; $custom-dark: #000000;
JSON
{
"hex": "#2f3da9",
"rgb": {
"r": 47,
"g": 61,
"b": 169
},
"hsl": {
"h": 233.115,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.42098,
"c": 0.17203,
"h": 271.1
},
"luminance": 0.06806
}Semantic roles & 50–950 ramp
primary
#2F3DA9
secondary
#C2B972
accent
#CE48E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82