#2F4197#2F4197
#2F4197 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.142 H 270.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4197 |
|---|---|
| RGB | rgb(47, 65, 151) |
| HSL | hsl(230, 53%, 39%) |
| HSV | hsv(230, 69%, 59%) |
| CMYK | cmyk(68.9%, 57%, 0%, 40.8%) |
| CIE-LAB | lab(30.92, 22.62, -49.38) |
| CIE-LCH | lch(30.92, 54.31, 294.62°) |
| OKLab | oklab(41.31% 0.0003 -0.1421) |
| OKLCH | oklch(41.31% 0.142 270.1) |
| XYZ | xyz(8.6466, 6.6185, 30.0940) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.06
Sapphire (survey)
#2138AB
ΔE00 4.30
Cobalt (survey)
#1E488F
ΔE00 4.66
Cobalt
#0047AB
ΔE00 4.71
Darkslateblue
#483D8B
ΔE00 5.63
Darkish Blue
#014182
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4197 #97852F
analogous
#2F7597 #2F4197 #512F97
triadic
#2F4197 #972F41 #41972F
tetradic
#2F4197 #972F75 #97852F #2F9751
square
#2F4197 #972F75 #97852F #2F9751
split-complementary
#2F4197 #97512F #75972F
monochromatic
#12193A #202D68 #2F4197 #4057C3 #6E80D2
Accessibility & contrast
On white
9.04
#2F4197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F4197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4197
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4197 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4197; /* rgb */ color: rgb(47, 65, 151); /* oklch */ color: oklch(41.3% 0.142 270.1);
Tailwind
colors: {
custom: {
50: '#7575b6',
500: '#2f4197',
950: '#000000',
},
}SCSS
$custom: #2f4197; $custom-light: #7575b6; $custom-dark: #000000;
JSON
{
"hex": "#2f4197",
"rgb": {
"r": 47,
"g": 65,
"b": 151
},
"hsl": {
"h": 229.615,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.41312,
"c": 0.14209,
"h": 270.1
},
"luminance": 0.06619
}Semantic roles & 50–950 ramp
primary
#2F4197
secondary
#B9AB68
accent
#C34CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80