#2F4598#2F4598
#2F4598 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.138 H 268.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4598 |
|---|---|
| RGB | rgb(47, 69, 152) |
| HSL | hsl(227, 53%, 39%) |
| HSV | hsv(227, 69%, 60%) |
| CMYK | cmyk(69.1%, 54.6%, 0%, 40.4%) |
| CIE-LAB | lab(32.09, 20.31, -48.09) |
| CIE-LCH | lch(32.09, 52.20, 292.90°) |
| OKLab | oklab(42.22% -0.0033 -0.1382) |
| OKLCH | oklch(42.22% 0.138 268.6) |
| XYZ | xyz(8.9660, 7.1267, 30.6028) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.64
Cobalt
#0047AB
ΔE00 3.96
Blueberry
#464196
ΔE00 4.76
Sapphire (survey)
#2138AB
ΔE00 5.23
Darkish Blue
#014182
ΔE00 5.93
Darkslateblue
#483D8B
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4598 #98822F
analogous
#2F7A98 #2F4598 #4E2F98
triadic
#2F4598 #982F45 #45982F
tetradic
#2F4598 #982F7A #98822F #2F984E
square
#2F4598 #982F7A #98822F #2F984E
split-complementary
#2F4598 #984E2F #7A982F
monochromatic
#121B3B #213069 #2F4598 #405CC4 #6F84D2
Accessibility & contrast
On white
8.66
#2F4598 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2F4598 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4598
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4598 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4598 | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09509B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f4598; /* rgb */ color: rgb(47, 69, 152); /* oklch */ color: oklch(42.2% 0.138 268.6);
Tailwind
colors: {
custom: {
50: '#7578b7',
500: '#2f4598',
950: '#000000',
},
}SCSS
$custom: #2f4598; $custom-light: #7578b7; $custom-dark: #000000;
JSON
{
"hex": "#2f4598",
"rgb": {
"r": 47,
"g": 69,
"b": 152
},
"hsl": {
"h": 227.429,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.42217,
"c": 0.13828,
"h": 268.6
},
"luminance": 0.07128
}Semantic roles & 50–950 ramp
primary
#2F4598
secondary
#BAA969
accent
#BE4CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80