#2F4A93#2F4A93
#2F4A93 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.124 H 266.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4A93 |
|---|---|
| RGB | rgb(47, 74, 147) |
| HSL | hsl(224, 52%, 38%) |
| HSV | hsv(224, 68%, 58%) |
| CMYK | cmyk(68%, 49.7%, 0%, 42.4%) |
| CIE-LAB | lab(33.15, 15.07, -43.34) |
| CIE-LCH | lch(33.15, 45.88, 289.17°) |
| OKLab | oklab(42.91% -0.0086 -0.1242) |
| OKLCH | oklch(42.91% 0.124 266) |
| XYZ | xyz(8.8857, 7.6076, 28.5982) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.33
Cobalt
#0047AB
ΔE00 4.10
Dusk Blue
#26538D
ΔE00 4.61
Darkish Blue
#014182
ΔE00 5.25
Denim Blue
#3B5B92
ΔE00 5.71
Twilight Blue
#0A437A
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4A93 #93782F
analogous
#2F7C93 #2F4A93 #462F93
triadic
#2F4A93 #932F4A #4A932F
tetradic
#2F4A93 #932F7C #93782F #2F9346
square
#2F4A93 #932F7C #93782F #2F9346
split-complementary
#2F4A93 #93462F #7C932F
monochromatic
#111B36 #203365 #2F4A93 #3E61C1 #6C87D0
Accessibility & contrast
On white
8.33
#2F4A93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2F4A93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4A93
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4A93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4A93 | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235396
Deuteranopia (green-blind)
#094A92
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f4a93; /* rgb */ color: rgb(47, 74, 147); /* oklch */ color: oklch(42.9% 0.124 266.0);
Tailwind
colors: {
custom: {
50: '#737cb3',
500: '#2f4a93',
950: '#000000',
},
}SCSS
$custom: #2f4a93; $custom-light: #737cb3; $custom-dark: #000000;
JSON
{
"hex": "#2f4a93",
"rgb": {
"r": 47,
"g": 74,
"b": 147
},
"hsl": {
"h": 223.8,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.42907,
"c": 0.12449,
"h": 266
},
"luminance": 0.07608
}Semantic roles & 50–950 ramp
primary
#2F4A93
secondary
#B7A266
accent
#B54DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80