#2F46A5#2F46A5
#2F46A5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.155 H 268.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46A5 |
|---|---|
| RGB | rgb(47, 70, 165) |
| HSL | hsl(228, 56%, 42%) |
| HSV | hsv(228, 72%, 65%) |
| CMYK | cmyk(71.5%, 57.6%, 0%, 35.3%) |
| CIE-LAB | lab(33.35, 24.51, -53.90) |
| CIE-LCH | lch(33.35, 59.21, 294.45°) |
| OKLab | oklab(43.47% -0.0034 -0.1553) |
| OKLCH | oklch(43.47% 0.155 268.7) |
| XYZ | xyz(10.1516, 7.7002, 36.5413) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.34
Sapphire (survey)
#2138AB
ΔE00 4.44
Cobalt (survey)
#1E488F
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 4.83
Blueberry
#464196
ΔE00 5.02
Sapphire
#0F52BA
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46A5 #A58E2F
analogous
#2F81A5 #2F46A5 #532FA5
triadic
#2F46A5 #A52F46 #46A52F
tetradic
#2F46A5 #A52F81 #A58E2F #2FA553
square
#2F46A5 #A52F81 #A58E2F #2FA553
split-complementary
#2F46A5 #A5532F #81A52F
monochromatic
#141E46 #213275 #2F46A5 #4760CB #7689D8
Accessibility & contrast
On white
8.27
#2F46A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2F46A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46A5
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46A5 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f46a5; /* rgb */ color: rgb(47, 70, 165); /* oklch */ color: oklch(43.5% 0.155 268.7);
Tailwind
colors: {
custom: {
50: '#7779c0',
500: '#2f46a5',
950: '#000000',
},
}SCSS
$custom: #2f46a5; $custom-light: #7779c0; $custom-dark: #000000;
JSON
{
"hex": "#2f46a5",
"rgb": {
"r": 47,
"g": 70,
"b": 165
},
"hsl": {
"h": 228.305,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.43472,
"c": 0.15536,
"h": 268.7
},
"luminance": 0.07701
}Semantic roles & 50–950 ramp
primary
#2F46A5
secondary
#C0B070
accent
#C249DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81