#2F46A6#2F46A6
#2F46A6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.157 H 268.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46A6 |
|---|---|
| RGB | rgb(47, 70, 166) |
| HSL | hsl(228, 56%, 42%) |
| HSV | hsv(228, 72%, 65%) |
| CMYK | cmyk(71.7%, 57.8%, 0%, 34.9%) |
| CIE-LAB | lab(33.43, 24.89, -54.37) |
| CIE-LCH | lch(33.43, 59.80, 294.59°) |
| OKLab | oklab(43.56% -0.0034 -0.1567) |
| OKLCH | oklch(43.56% 0.157 268.8) |
| XYZ | xyz(10.2430, 7.7368, 37.0225) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.35
Sapphire (survey)
#2138AB
ΔE00 4.39
Blue Blue
#2242C7
ΔE00 4.69
Cobalt (survey)
#1E488F
ΔE00 4.88
Blueberry
#464196
ΔE00 5.05
Sapphire
#0F52BA
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46A6 #A68F2F
analogous
#2F82A6 #2F46A6 #532FA6
triadic
#2F46A6 #A62F46 #46A62F
tetradic
#2F46A6 #A62F82 #A68F2F #2FA653
square
#2F46A6 #A62F82 #A68F2F #2FA653
split-complementary
#2F46A6 #A6532F #82A62F
monochromatic
#141E47 #213276 #2F46A6 #4761CB #778AD8
Accessibility & contrast
On white
8.24
#2F46A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2F46A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46A6
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46A6 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f46a6; /* rgb */ color: rgb(47, 70, 166); /* oklch */ color: oklch(43.6% 0.157 268.8);
Tailwind
colors: {
custom: {
50: '#7879c1',
500: '#2f46a6',
950: '#000000',
},
}SCSS
$custom: #2f46a6; $custom-light: #7879c1; $custom-dark: #000000;
JSON
{
"hex": "#2f46a6",
"rgb": {
"r": 47,
"g": 70,
"b": 166
},
"hsl": {
"h": 228.403,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.43555,
"c": 0.15675,
"h": 268.8
},
"luminance": 0.07738
}Semantic roles & 50–950 ramp
primary
#2F46A6
secondary
#C1B170
accent
#C249DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81