#2F3DAE#2F3DAE
#2F3DAE is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.179 H 271.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3DAE |
|---|---|
| RGB | rgb(47, 61, 174) |
| HSL | hsl(233, 57%, 43%) |
| HSV | hsv(233, 73%, 68%) |
| CMYK | cmyk(73%, 64.9%, 0%, 31.8%) |
| CIE-LAB | lab(31.80, 33.72, -61.82) |
| CIE-LCH | lch(31.80, 70.41, 298.61°) |
| OKLab | oklab(42.56% 0.0031 -0.1786) |
| OKLCH | oklch(42.56% 0.179 271) |
| XYZ | xyz(10.4784, 6.9967, 40.8345) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.77
Blue Blue
#2242C7
ΔE00 3.57
Ocean Blue
#4F42B5
ΔE00 4.52
Blueberry
#464196
ΔE00 5.02
Cobalt
#0047AB
ΔE00 5.60
Blue With A Hint Of Purple
#533CC6
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3DAE #AEA02F
analogous
#2F7CAE #2F3DAE #602FAE
triadic
#2F3DAE #AE2F3D #3DAE2F
tetradic
#2F3DAE #AE2F7C #AEA02F #2FAE60
square
#2F3DAE #AE2F7C #AEA02F #2FAE60
split-complementary
#2F3DAE #AE602F #7CAE2F
monochromatic
#151B4E #222C7E #2F3DAE #4C5ACF #7C86DC
Accessibility & contrast
On white
8.75
#2F3DAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F3DAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3DAE
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3DAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3DAE | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3dae; /* rgb */ color: rgb(47, 61, 174); /* oklch */ color: oklch(42.6% 0.179 271.0);
Tailwind
colors: {
custom: {
50: '#7a72c7',
500: '#2f3dae',
950: '#000000',
},
}SCSS
$custom: #2f3dae; $custom-light: #7a72c7; $custom-dark: #000000;
JSON
{
"hex": "#2f3dae",
"rgb": {
"r": 47,
"g": 61,
"b": 174
},
"hsl": {
"h": 233.386,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.42556,
"c": 0.17868,
"h": 271
},
"luminance": 0.06998
}Semantic roles & 50–950 ramp
primary
#2F3DAE
secondary
#C4BB75
accent
#D047E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82