#2F4699#2F4699
#2F4699 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.138 H 268.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4699 |
|---|---|
| RGB | rgb(47, 70, 153) |
| HSL | hsl(227, 53%, 39%) |
| HSV | hsv(227, 69%, 60%) |
| CMYK | cmyk(69.3%, 54.2%, 0%, 40%) |
| CIE-LAB | lab(32.44, 20.01, -48.13) |
| CIE-LCH | lch(32.44, 52.12, 292.58°) |
| OKLab | oklab(42.5% -0.0041 -0.1383) |
| OKLCH | oklch(42.5% 0.138 268.3) |
| XYZ | xyz(9.1102, 7.2837, 31.0566) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.49
Cobalt
#0047AB
ΔE00 3.76
Blueberry
#464196
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.41
Darkish Blue
#014182
ΔE00 5.93
Sapphire
#0F52BA
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4699 #99822F
analogous
#2F7B99 #2F4699 #4D2F99
triadic
#2F4699 #992F46 #46992F
tetradic
#2F4699 #992F7B #99822F #2F994D
square
#2F4699 #992F7B #99822F #2F994D
split-complementary
#2F4699 #994D2F #7B992F
monochromatic
#121B3B #21316A #2F4699 #415DC5 #6F85D3
Accessibility & contrast
On white
8.55
#2F4699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2F4699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4699
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4699 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C519C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f4699; /* rgb */ color: rgb(47, 70, 153); /* oklch */ color: oklch(42.5% 0.138 268.3);
Tailwind
colors: {
custom: {
50: '#7579b8',
500: '#2f4699',
950: '#000000',
},
}SCSS
$custom: #2f4699; $custom-light: #7579b8; $custom-dark: #000000;
JSON
{
"hex": "#2f4699",
"rgb": {
"r": 47,
"g": 70,
"b": 153
},
"hsl": {
"h": 226.981,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.42504,
"c": 0.1384,
"h": 268.3
},
"luminance": 0.07285
}Semantic roles & 50–950 ramp
primary
#2F4699
secondary
#BAA969
accent
#BD4BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80