#2F3DAB#2F3DAB
#2F3DAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.175 H 271.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3DAB |
|---|---|
| RGB | rgb(47, 61, 171) |
| HSL | hsl(233, 57%, 43%) |
| HSV | hsv(233, 73%, 67%) |
| CMYK | cmyk(72.5%, 64.3%, 0%, 32.9%) |
| CIE-LAB | lab(31.53, 32.63, -60.46) |
| CIE-LCH | lch(31.53, 68.70, 298.36°) |
| OKLab | oklab(42.28% 0.0033 -0.1747) |
| OKLCH | oklch(42.28% 0.175 271.1) |
| XYZ | xyz(10.1892, 6.8811, 39.3114) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.70
Blue Blue
#2242C7
ΔE00 3.93
Ocean Blue
#4F42B5
ΔE00 4.71
Blueberry
#464196
ΔE00 4.75
Cobalt
#0047AB
ΔE00 5.49
Blue With A Hint Of Purple
#533CC6
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3DAB #AB9D2F
analogous
#2F7BAB #2F3DAB #5F2FAB
triadic
#2F3DAB #AB2F3D #3DAB2F
tetradic
#2F3DAB #AB2F7B #AB9D2F #2FAB5F
square
#2F3DAB #AB2F7B #AB9D2F #2FAB5F
split-complementary
#2F3DAB #AB5F2F #7BAB2F
monochromatic
#151B4B #222C7B #2F3DAB #4A59CD #7A85DA
Accessibility & contrast
On white
8.84
#2F3DAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2F3DAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3DAB
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3DAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3DAB | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3dab; /* rgb */ color: rgb(47, 61, 171); /* oklch */ color: oklch(42.3% 0.175 271.1);
Tailwind
colors: {
custom: {
50: '#7972c5',
500: '#2f3dab',
950: '#000000',
},
}SCSS
$custom: #2f3dab; $custom-light: #7972c5; $custom-dark: #000000;
JSON
{
"hex": "#2f3dab",
"rgb": {
"r": 47,
"g": 61,
"b": 171
},
"hsl": {
"h": 233.226,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.4228,
"c": 0.1747,
"h": 271.1
},
"luminance": 0.06882
}Semantic roles & 50–950 ramp
primary
#2F3DAB
secondary
#C3BA73
accent
#CF48E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82