#2F3A90#2F3A90
#2F3A90 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.141 H 272.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3A90 |
|---|---|
| RGB | rgb(47, 58, 144) |
| HSL | hsl(233, 51%, 37%) |
| HSV | hsv(233, 67%, 56%) |
| CMYK | cmyk(67.4%, 59.7%, 0%, 43.5%) |
| CIE-LAB | lab(28.49, 24.73, -49.03) |
| CIE-LCH | lch(28.49, 54.92, 296.76°) |
| OKLab | oklab(39.33% 0.0064 -0.1412) |
| OKLCH | oklch(39.33% 0.141 272.6) |
| XYZ | xyz(7.7177, 5.6434, 27.0627) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.92
Sapphire (survey)
#2138AB
ΔE00 4.18
Darkslateblue
#483D8B
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 6.49
Cobalt
#0047AB
ΔE00 6.72
Darkish Blue
#014182
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3A90 #90852F
analogous
#2F6A90 #2F3A90 #552F90
triadic
#2F3A90 #902F3A #3A902F
tetradic
#2F3A90 #902F6A #90852F #2F9055
square
#2F3A90 #902F6A #90852F #2F9055
split-complementary
#2F3A90 #90552F #6A902F
monochromatic
#111534 #202762 #2F3A90 #3E4DBE #6B76CF
Accessibility & contrast
On white
9.86
#2F3A90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2F3A90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3A90
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3A90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3A90 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f3a90; /* rgb */ color: rgb(47, 58, 144); /* oklch */ color: oklch(39.3% 0.141 272.6);
Tailwind
colors: {
custom: {
50: '#7470b1',
500: '#2f3a90',
950: '#000000',
},
}SCSS
$custom: #2f3a90; $custom-light: #7470b1; $custom-dark: #000000;
JSON
{
"hex": "#2f3a90",
"rgb": {
"r": 47,
"g": 58,
"b": 144
},
"hsl": {
"h": 233.196,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.39327,
"c": 0.14131,
"h": 272.6
},
"luminance": 0.05644
}Semantic roles & 50–950 ramp
primary
#2F3A90
secondary
#B6AD65
accent
#CA4EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80