#2F47AF#2F47AF
#2F47AF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.168 H 268.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47AF |
|---|---|
| RGB | rgb(47, 71, 175) |
| HSL | hsl(229, 58%, 44%) |
| HSV | hsv(229, 73%, 69%) |
| CMYK | cmyk(73.1%, 59.4%, 0%, 31.4%) |
| CIE-LAB | lab(34.41, 27.58, -58.15) |
| CIE-LCH | lch(34.41, 64.36, 295.37°) |
| OKLab | oklab(44.51% -0.004 -0.1678) |
| OKLCH | oklch(44.51% 0.168 268.6) |
| XYZ | xyz(11.1607, 8.2048, 41.5446) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.53
Blue Blue
#2242C7
ΔE00 3.57
Sapphire (survey)
#2138AB
ΔE00 4.47
Sapphire
#0F52BA
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 5.46
Blueberry
#464196
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47AF #AF972F
analogous
#2F87AF #2F47AF #572FAF
triadic
#2F47AF #AF2F47 #47AF2F
tetradic
#2F47AF #AF2F87 #AF972F #2FAF57
square
#2F47AF #AF2F87 #AF972F #2FAF57
split-complementary
#2F47AF #AF572F #87AF2F
monochromatic
#15204F #22337F #2F47AF #4C65CF #7C8EDC
Accessibility & contrast
On white
7.95
#2F47AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2F47AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47AF
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47AF | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f47af; /* rgb */ color: rgb(47, 71, 175); /* oklch */ color: oklch(44.5% 0.168 268.6);
Tailwind
colors: {
custom: {
50: '#7a7ac8',
500: '#2f47af',
950: '#000000',
},
}SCSS
$custom: #2f47af; $custom-light: #7a7ac8; $custom-dark: #000000;
JSON
{
"hex": "#2f47af",
"rgb": {
"r": 47,
"g": 71,
"b": 175
},
"hsl": {
"h": 228.75,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.44508,
"c": 0.16786,
"h": 268.6
},
"luminance": 0.08206
}Semantic roles & 50–950 ramp
primary
#2F47AF
secondary
#C4B675
accent
#C447E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82