#2F3E95#2F3E95
#2F3E95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.143 H 271.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E95 |
|---|---|
| RGB | rgb(47, 62, 149) |
| HSL | hsl(231, 52%, 38%) |
| HSV | hsv(231, 68%, 58%) |
| CMYK | cmyk(68.5%, 58.4%, 0%, 41.6%) |
| CIE-LAB | lab(29.96, 23.89, -49.72) |
| CIE-LCH | lch(29.96, 55.17, 295.67°) |
| OKLab | oklab(40.54% 0.0029 -0.1431) |
| OKLCH | oklch(40.54% 0.143 271.1) |
| XYZ | xyz(8.3179, 6.2187, 29.1899) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.81
Sapphire (survey)
#2138AB
ΔE00 3.94
Darkslateblue
#483D8B
ΔE00 5.13
Cobalt (survey)
#1E488F
ΔE00 5.44
Cobalt
#0047AB
ΔE00 5.48
Darkish Blue
#014182
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E95 #95862F
analogous
#2F7195 #2F3E95 #532F95
triadic
#2F3E95 #952F3E #3E952F
tetradic
#2F3E95 #952F71 #95862F #2F9553
square
#2F3E95 #952F71 #95862F #2F9553
split-complementary
#2F3E95 #95532F #71952F
monochromatic
#121738 #202B66 #2F3E95 #3F52C2 #6D7CD1
Accessibility & contrast
On white
9.36
#2F3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2F3E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E95
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E95 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3e95; /* rgb */ color: rgb(47, 62, 149); /* oklch */ color: oklch(40.5% 0.143 271.1);
Tailwind
colors: {
custom: {
50: '#7473b5',
500: '#2f3e95',
950: '#000000',
},
}SCSS
$custom: #2f3e95; $custom-light: #7473b5; $custom-dark: #000000;
JSON
{
"hex": "#2f3e95",
"rgb": {
"r": 47,
"g": 62,
"b": 149
},
"hsl": {
"h": 231.176,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.40542,
"c": 0.14318,
"h": 271.1
},
"luminance": 0.0622
}Semantic roles & 50–950 ramp
primary
#2F3E95
secondary
#B8AC67
accent
#C64CDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80