#2F46A3#2F46A3
#2F46A3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.153 H 268.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46A3 |
|---|---|
| RGB | rgb(47, 70, 163) |
| HSL | hsl(228, 55%, 41%) |
| HSV | hsv(228, 71%, 64%) |
| CMYK | cmyk(71.2%, 57.1%, 0%, 36.1%) |
| CIE-LAB | lab(33.20, 23.76, -52.95) |
| CIE-LCH | lch(33.20, 58.04, 294.17°) |
| OKLab | oklab(43.31% -0.0035 -0.1525) |
| OKLCH | oklch(43.31% 0.153 268.7) |
| XYZ | xyz(9.9710, 7.6280, 35.5901) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.35
Cobalt (survey)
#1E488F
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 4.56
Blueberry
#464196
ΔE00 4.96
Blue Blue
#2242C7
ΔE00 5.12
Sapphire
#0F52BA
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46A3 #A38C2F
analogous
#2F80A3 #2F46A3 #522FA3
triadic
#2F46A3 #A32F46 #46A32F
tetradic
#2F46A3 #A32F80 #A38C2F #2FA352
square
#2F46A3 #A32F80 #A38C2F #2FA352
split-complementary
#2F46A3 #A3522F #80A32F
monochromatic
#141D44 #213273 #2F46A3 #4660CA #7589D7
Accessibility & contrast
On white
8.31
#2F46A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2F46A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46A3
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46A3 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f46a3; /* rgb */ color: rgb(47, 70, 163); /* oklch */ color: oklch(43.3% 0.153 268.7);
Tailwind
colors: {
custom: {
50: '#7779bf',
500: '#2f46a3',
950: '#000000',
},
}SCSS
$custom: #2f46a3; $custom-light: #7779bf; $custom-dark: #000000;
JSON
{
"hex": "#2f46a3",
"rgb": {
"r": 47,
"g": 70,
"b": 163
},
"hsl": {
"h": 228.103,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.43308,
"c": 0.15257,
"h": 268.7
},
"luminance": 0.07629
}Semantic roles & 50–950 ramp
primary
#2F46A3
secondary
#BFAF6F
accent
#C149DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81