#2F47B2#2F47B2
#2F47B2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.172 H 268.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47B2 |
|---|---|
| RGB | rgb(47, 71, 178) |
| HSL | hsl(229, 58%, 44%) |
| HSV | hsv(229, 74%, 70%) |
| CMYK | cmyk(73.6%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(34.65, 28.69, -59.54) |
| CIE-LCH | lch(34.65, 66.09, 295.73°) |
| OKLab | oklab(44.77% -0.0039 -0.1719) |
| OKLCH | oklch(44.77% 0.172 268.7) |
| XYZ | xyz(11.4586, 8.3240, 43.1136) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.18
Cobalt
#0047AB
ΔE00 3.73
Sapphire (survey)
#2138AB
ΔE00 4.48
Sapphire
#0F52BA
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 5.28
Blue (survey)
#0343DF
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47B2 #B29A2F
analogous
#2F89B2 #2F47B2 #592FB2
triadic
#2F47B2 #B22F47 #47B22F
tetradic
#2F47B2 #B22F89 #B29A2F #2FB259
square
#2F47B2 #B22F89 #B29A2F #2FB259
split-complementary
#2F47B2 #B2592F #89B22F
monochromatic
#152051 #223482 #2F47B2 #4E66D0 #7E90DD
Accessibility & contrast
On white
7.88
#2F47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2F47B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47B2
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47B2 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f47b2; /* rgb */ color: rgb(47, 71, 178); /* oklch */ color: oklch(44.8% 0.172 268.7);
Tailwind
colors: {
custom: {
50: '#7a7aca',
500: '#2f47b2',
950: '#000000',
},
}SCSS
$custom: #2f47b2; $custom-light: #7a7aca; $custom-dark: #000000;
JSON
{
"hex": "#2f47b2",
"rgb": {
"r": 47,
"g": 71,
"b": 178
},
"hsl": {
"h": 229.008,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.44765,
"c": 0.17192,
"h": 268.7
},
"luminance": 0.08325
}Semantic roles & 50–950 ramp
primary
#2F47B2
secondary
#C6B777
accent
#C546E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82