#2F4694#2F4694
#2F4694 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.131 H 268.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4694 |
|---|---|
| RGB | rgb(47, 70, 148) |
| HSL | hsl(226, 52%, 38%) |
| HSV | hsv(226, 68%, 58%) |
| CMYK | cmyk(68.2%, 52.7%, 0%, 42%) |
| CIE-LAB | lab(32.08, 18.13, -45.67) |
| CIE-LCH | lch(32.08, 49.14, 291.66°) |
| OKLab | oklab(42.12% -0.0046 -0.1311) |
| OKLCH | oklch(42.12% 0.131 268) |
| XYZ | xyz(8.7059, 7.1219, 28.9271) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.09
Cobalt
#0047AB
ΔE00 4.17
Blueberry
#464196
ΔE00 5.16
Darkish Blue
#014182
ΔE00 5.48
Sapphire (survey)
#2138AB
ΔE00 5.96
Dusk Blue
#26538D
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4694 #947D2F
analogous
#2F7894 #2F4694 #4A2F94
triadic
#2F4694 #942F46 #46942F
tetradic
#2F4694 #942F78 #947D2F #2F944A
square
#2F4694 #942F78 #947D2F #2F944A
split-complementary
#2F4694 #944A2F #78942F
monochromatic
#111A37 #203066 #2F4694 #3E5CC2 #6D84D1
Accessibility & contrast
On white
8.66
#2F4694 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2F4694 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4694
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4694 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4694 | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165097
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f4694; /* rgb */ color: rgb(47, 70, 148); /* oklch */ color: oklch(42.1% 0.131 268.0);
Tailwind
colors: {
custom: {
50: '#7479b4',
500: '#2f4694',
950: '#000000',
},
}SCSS
$custom: #2f4694; $custom-light: #7479b4; $custom-dark: #000000;
JSON
{
"hex": "#2f4694",
"rgb": {
"r": 47,
"g": 70,
"b": 148
},
"hsl": {
"h": 226.337,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.42116,
"c": 0.13119,
"h": 268
},
"luminance": 0.07123
}Semantic roles & 50–950 ramp
primary
#2F4694
secondary
#B8A567
accent
#BB4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80