#2F4393#2F4393
#2F4393 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.134 H 269.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4393 |
|---|---|
| RGB | rgb(47, 67, 147) |
| HSL | hsl(228, 52%, 38%) |
| HSV | hsv(228, 68%, 58%) |
| CMYK | cmyk(68%, 54.4%, 0%, 42.4%) |
| CIE-LAB | lab(31.17, 19.78, -46.53) |
| CIE-LCH | lch(31.17, 50.56, 293.03°) |
| OKLab | oklab(41.4% -0.0018 -0.1337) |
| OKLCH | oklch(41.4% 0.134 269.2) |
| XYZ | xyz(8.4441, 6.7244, 28.4510) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.83
Blueberry
#464196
ΔE00 4.53
Cobalt
#0047AB
ΔE00 4.64
Sapphire (survey)
#2138AB
ΔE00 5.29
Darkish Blue
#014182
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4393 #937F2F
analogous
#2F7593 #2F4393 #4D2F93
triadic
#2F4393 #932F43 #43932F
tetradic
#2F4393 #932F75 #937F2F #2F934D
square
#2F4393 #932F75 #937F2F #2F934D
split-complementary
#2F4393 #934D2F #75932F
monochromatic
#111936 #202E65 #2F4393 #3E58C1 #6C80D0
Accessibility & contrast
On white
8.96
#2F4393 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F4393 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4393
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4393 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4393 | 1.00 | 8.96 | 2.35 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C4E96
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4393; /* rgb */ color: rgb(47, 67, 147); /* oklch */ color: oklch(41.4% 0.134 269.2);
Tailwind
colors: {
custom: {
50: '#7476b3',
500: '#2f4393',
950: '#000000',
},
}SCSS
$custom: #2f4393; $custom-light: #7476b3; $custom-dark: #000000;
JSON
{
"hex": "#2f4393",
"rgb": {
"r": 47,
"g": 67,
"b": 147
},
"hsl": {
"h": 228,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.41404,
"c": 0.13371,
"h": 269.2
},
"luminance": 0.06725
}Semantic roles & 50–950 ramp
primary
#2F4393
secondary
#B7A766
accent
#BF4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80