#2F4196#2F4196
#2F4196 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.141 H 270.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4196 |
|---|---|
| RGB | rgb(47, 65, 150) |
| HSL | hsl(230, 52%, 39%) |
| HSV | hsv(230, 69%, 59%) |
| CMYK | cmyk(68.7%, 56.7%, 0%, 41.2%) |
| CIE-LAB | lab(30.85, 22.25, -48.89) |
| CIE-LCH | lch(30.85, 53.72, 294.47°) |
| OKLab | oklab(41.23% 0.0002 -0.1407) |
| OKLCH | oklch(41.23% 0.141 270.1) |
| XYZ | xyz(8.5657, 6.5861, 29.6681) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 4.42
Cobalt (survey)
#1E488F
ΔE00 4.59
Cobalt
#0047AB
ΔE00 4.78
Darkslateblue
#483D8B
ΔE00 5.61
Darkish Blue
#014182
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4196 #96842F
analogous
#2F7496 #2F4196 #502F96
triadic
#2F4196 #962F41 #41962F
tetradic
#2F4196 #962F74 #96842F #2F9650
square
#2F4196 #962F74 #96842F #2F9650
split-complementary
#2F4196 #96502F #74962F
monochromatic
#121939 #202D67 #2F4196 #3F56C3 #6E7FD2
Accessibility & contrast
On white
9.06
#2F4196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F4196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4196
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4196 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4196; /* rgb */ color: rgb(47, 65, 150); /* oklch */ color: oklch(41.2% 0.141 270.1);
Tailwind
colors: {
custom: {
50: '#7475b6',
500: '#2f4196',
950: '#000000',
},
}SCSS
$custom: #2f4196; $custom-light: #7475b6; $custom-dark: #000000;
JSON
{
"hex": "#2f4196",
"rgb": {
"r": 47,
"g": 65,
"b": 150
},
"hsl": {
"h": 229.515,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.41231,
"c": 0.14067,
"h": 270.1
},
"luminance": 0.06587
}Semantic roles & 50–950 ramp
primary
#2F4196
secondary
#B9AB68
accent
#C34CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80