#2F3CAE#2F3CAE
#2F3CAE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.180 H 271.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CAE |
|---|---|
| RGB | rgb(47, 60, 174) |
| HSL | hsl(234, 57%, 43%) |
| HSV | hsv(234, 73%, 68%) |
| CMYK | cmyk(73%, 65.5%, 0%, 31.8%) |
| CIE-LAB | lab(31.56, 34.36, -62.21) |
| CIE-LCH | lch(31.56, 71.07, 298.91°) |
| OKLab | oklab(42.38% 0.0038 -0.1798) |
| OKLCH | oklch(42.38% 0.18 271.2) |
| XYZ | xyz(10.4255, 6.8910, 40.8168) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.61
Blue Blue
#2242C7
ΔE00 3.70
Ocean Blue
#4F42B5
ΔE00 4.54
Blueberry
#464196
ΔE00 5.07
Cobalt
#0047AB
ΔE00 5.85
Blue With A Hint Of Purple
#533CC6
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CAE #AEA12F
analogous
#2F7BAE #2F3CAE #612FAE
triadic
#2F3CAE #AE2F3C #3CAE2F
tetradic
#2F3CAE #AE2F7B #AEA12F #2FAE61
square
#2F3CAE #AE2F7B #AEA12F #2FAE61
split-complementary
#2F3CAE #AE612F #7BAE2F
monochromatic
#151B4E #222B7E #2F3CAE #4C59CF #7C86DC
Accessibility & contrast
On white
8.83
#2F3CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2F3CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CAE
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CAE | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3cae; /* rgb */ color: rgb(47, 60, 174); /* oklch */ color: oklch(42.4% 0.180 271.2);
Tailwind
colors: {
custom: {
50: '#7a72c7',
500: '#2f3cae',
950: '#000000',
},
}SCSS
$custom: #2f3cae; $custom-light: #7a72c7; $custom-dark: #000000;
JSON
{
"hex": "#2f3cae",
"rgb": {
"r": 47,
"g": 60,
"b": 174
},
"hsl": {
"h": 233.858,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.42379,
"c": 0.17986,
"h": 271.2
},
"luminance": 0.06892
}Semantic roles & 50–950 ramp
primary
#2F3CAE
secondary
#C4BC75
accent
#D147E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82