#2F4298#2F4298
#2F4298 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.142 H 269.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4298 |
|---|---|
| RGB | rgb(47, 66, 152) |
| HSL | hsl(229, 53%, 39%) |
| HSV | hsv(229, 69%, 60%) |
| CMYK | cmyk(69.1%, 56.6%, 0%, 40.4%) |
| CIE-LAB | lab(31.27, 22.33, -49.42) |
| CIE-LCH | lch(31.27, 54.23, 294.31°) |
| OKLab | oklab(41.6% -0.0006 -0.1422) |
| OKLCH | oklch(41.6% 0.142 269.8) |
| XYZ | xyz(8.7861, 6.7669, 30.5428) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.19
Sapphire (survey)
#2138AB
ΔE00 4.42
Cobalt (survey)
#1E488F
ΔE00 4.44
Cobalt
#0047AB
ΔE00 4.46
Darkslateblue
#483D8B
ΔE00 5.84
Darkish Blue
#014182
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4298 #98852F
analogous
#2F7798 #2F4298 #512F98
triadic
#2F4298 #982F42 #42982F
tetradic
#2F4298 #982F77 #98852F #2F9851
square
#2F4298 #982F77 #98852F #2F9851
split-complementary
#2F4298 #98512F #77982F
monochromatic
#12193B #212E69 #2F4298 #4058C4 #6F81D2
Accessibility & contrast
On white
8.92
#2F4298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F4298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4298
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4298 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f4298; /* rgb */ color: rgb(47, 66, 152); /* oklch */ color: oklch(41.6% 0.142 269.8);
Tailwind
colors: {
custom: {
50: '#7576b7',
500: '#2f4298',
950: '#000000',
},
}SCSS
$custom: #2f4298; $custom-light: #7576b7; $custom-dark: #000000;
JSON
{
"hex": "#2f4298",
"rgb": {
"r": 47,
"g": 66,
"b": 152
},
"hsl": {
"h": 229.143,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.41598,
"c": 0.14221,
"h": 269.8
},
"luminance": 0.06768
}Semantic roles & 50–950 ramp
primary
#2F4298
secondary
#BAAB69
accent
#C24CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80