#2F4498#2F4498
#2F4498 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.140 H 269.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4498 |
|---|---|
| RGB | rgb(47, 68, 152) |
| HSL | hsl(228, 53%, 39%) |
| HSV | hsv(228, 69%, 60%) |
| CMYK | cmyk(69.1%, 55.3%, 0%, 40.4%) |
| CIE-LAB | lab(31.82, 20.98, -48.53) |
| CIE-LCH | lch(31.82, 52.88, 293.38°) |
| OKLab | oklab(42.01% -0.0024 -0.1396) |
| OKLCH | oklch(42.01% 0.14 269) |
| XYZ | xyz(8.9050, 7.0047, 30.5824) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.89
Cobalt
#0047AB
ΔE00 4.10
Blueberry
#464196
ΔE00 4.55
Sapphire (survey)
#2138AB
ΔE00 4.95
Darkish Blue
#014182
ΔE00 6.05
Darkslateblue
#483D8B
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4498 #98832F
analogous
#2F7998 #2F4498 #4F2F98
triadic
#2F4498 #982F44 #44982F
tetradic
#2F4498 #982F79 #98832F #2F984F
square
#2F4498 #982F79 #98832F #2F984F
split-complementary
#2F4498 #984F2F #79982F
monochromatic
#121A3B #212F69 #2F4498 #405BC4 #6F83D2
Accessibility & contrast
On white
8.75
#2F4498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F4498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4498
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4498 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03509B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f4498; /* rgb */ color: rgb(47, 68, 152); /* oklch */ color: oklch(42.0% 0.140 269.0);
Tailwind
colors: {
custom: {
50: '#7577b7',
500: '#2f4498',
950: '#000000',
},
}SCSS
$custom: #2f4498; $custom-light: #7577b7; $custom-dark: #000000;
JSON
{
"hex": "#2f4498",
"rgb": {
"r": 47,
"g": 68,
"b": 152
},
"hsl": {
"h": 228,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.42009,
"c": 0.13959,
"h": 269
},
"luminance": 0.07006
}Semantic roles & 50–950 ramp
primary
#2F4498
secondary
#BAAA69
accent
#BF4CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80