#2F4494#2F4494
#2F4494 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.134 H 268.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4494 |
|---|---|
| RGB | rgb(47, 68, 148) |
| HSL | hsl(228, 52%, 38%) |
| HSV | hsv(228, 68%, 58%) |
| CMYK | cmyk(68.2%, 54.1%, 0%, 42%) |
| CIE-LAB | lab(31.52, 19.48, -46.58) |
| CIE-LCH | lch(31.52, 50.49, 292.70°) |
| OKLab | oklab(41.69% -0.0027 -0.1338) |
| OKLCH | oklch(41.69% 0.134 268.9) |
| XYZ | xyz(8.5829, 6.8759, 28.8861) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.61
Cobalt
#0047AB
ΔE00 4.40
Blueberry
#464196
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 5.42
Darkish Blue
#014182
ΔE00 5.69
Darkslateblue
#483D8B
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4494 #947F2F
analogous
#2F7694 #2F4494 #4C2F94
triadic
#2F4494 #942F44 #44942F
tetradic
#2F4494 #942F76 #947F2F #2F944C
square
#2F4494 #942F76 #947F2F #2F944C
split-complementary
#2F4494 #944C2F #76942F
monochromatic
#111937 #202F66 #2F4494 #3E5AC2 #6D82D1
Accessibility & contrast
On white
8.84
#2F4494 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2F4494 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4494
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4494 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4494 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E4F97
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f4494; /* rgb */ color: rgb(47, 68, 148); /* oklch */ color: oklch(41.7% 0.134 268.9);
Tailwind
colors: {
custom: {
50: '#7477b4',
500: '#2f4494',
950: '#000000',
},
}SCSS
$custom: #2f4494; $custom-light: #7477b4; $custom-dark: #000000;
JSON
{
"hex": "#2f4494",
"rgb": {
"r": 47,
"g": 68,
"b": 148
},
"hsl": {
"h": 227.525,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.41693,
"c": 0.13384,
"h": 268.9
},
"luminance": 0.06877
}Semantic roles & 50–950 ramp
primary
#2F4494
secondary
#B8A767
accent
#BE4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80