#2F3A95#2F3A95
#2F3A95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.148 H 272.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3A95 |
|---|---|
| RGB | rgb(47, 58, 149) |
| HSL | hsl(234, 52%, 38%) |
| HSV | hsv(234, 68%, 58%) |
| CMYK | cmyk(68.5%, 61.1%, 0%, 41.6%) |
| CIE-LAB | lab(28.90, 26.57, -51.44) |
| CIE-LCH | lch(28.90, 57.90, 297.31°) |
| OKLab | oklab(39.76% 0.0064 -0.1482) |
| OKLCH | oklch(39.76% 0.148 272.5) |
| XYZ | xyz(8.1083, 5.7996, 29.1201) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.42
Blueberry
#464196
ΔE00 3.84
Darkslateblue
#483D8B
ΔE00 4.84
Cobalt
#0047AB
ΔE00 6.45
Cobalt (survey)
#1E488F
ΔE00 6.68
Ocean Blue
#4F42B5
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3A95 #958A2F
analogous
#2F6D95 #2F3A95 #572F95
triadic
#2F3A95 #952F3A #3A952F
tetradic
#2F3A95 #952F6D #958A2F #2F9557
square
#2F3A95 #952F6D #958A2F #2F9557
split-complementary
#2F3A95 #95572F #6D952F
monochromatic
#121638 #202866 #2F3A95 #3F4DC2 #6D78D1
Accessibility & contrast
On white
9.72
#2F3A95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2F3A95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3A95
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3A95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3A95 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3a95; /* rgb */ color: rgb(47, 58, 149); /* oklch */ color: oklch(39.8% 0.148 272.5);
Tailwind
colors: {
custom: {
50: '#7570b5',
500: '#2f3a95',
950: '#000000',
},
}SCSS
$custom: #2f3a95; $custom-light: #7570b5; $custom-dark: #000000;
JSON
{
"hex": "#2f3a95",
"rgb": {
"r": 47,
"g": 58,
"b": 149
},
"hsl": {
"h": 233.529,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.39757,
"c": 0.14838,
"h": 272.5
},
"luminance": 0.058
}Semantic roles & 50–950 ramp
primary
#2F3A95
secondary
#B8B067
accent
#CC4CDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80