#2F3A94#2F3A94
#2F3A94 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.147 H 272.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3A94 |
|---|---|
| RGB | rgb(47, 58, 148) |
| HSL | hsl(233, 52%, 38%) |
| HSV | hsv(233, 68%, 58%) |
| CMYK | cmyk(68.2%, 60.8%, 0%, 42%) |
| CIE-LAB | lab(28.82, 26.20, -50.96) |
| CIE-LCH | lch(28.82, 57.30, 297.21°) |
| OKLab | oklab(39.67% 0.0064 -0.1468) |
| OKLCH | oklch(39.67% 0.147 272.5) |
| XYZ | xyz(8.0289, 5.7678, 28.7014) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.57
Blueberry
#464196
ΔE00 3.85
Darkslateblue
#483D8B
ΔE00 4.79
Cobalt
#0047AB
ΔE00 6.50
Cobalt (survey)
#1E488F
ΔE00 6.64
Ocean Blue
#4F42B5
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3A94 #94892F
analogous
#2F6C94 #2F3A94 #562F94
triadic
#2F3A94 #942F3A #3A942F
tetradic
#2F3A94 #942F6C #94892F #2F9456
square
#2F3A94 #942F6C #94892F #2F9456
split-complementary
#2F3A94 #94562F #6C942F
monochromatic
#111637 #202866 #2F3A94 #3E4DC2 #6D78D1
Accessibility & contrast
On white
9.75
#2F3A94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2F3A94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3A94
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3A94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3A94 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3a94; /* rgb */ color: rgb(47, 58, 148); /* oklch */ color: oklch(39.7% 0.147 272.5);
Tailwind
colors: {
custom: {
50: '#7470b4',
500: '#2f3a94',
950: '#000000',
},
}SCSS
$custom: #2f3a94; $custom-light: #7470b4; $custom-dark: #000000;
JSON
{
"hex": "#2f3a94",
"rgb": {
"r": 47,
"g": 58,
"b": 148
},
"hsl": {
"h": 233.465,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.3967,
"c": 0.14698,
"h": 272.5
},
"luminance": 0.05769
}Semantic roles & 50–950 ramp
primary
#2F3A94
secondary
#B8AF67
accent
#CC4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80