#2F46A1#2F46A1
#2F46A1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.150 H 268.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46A1 |
|---|---|
| RGB | rgb(47, 70, 161) |
| HSL | hsl(228, 55%, 41%) |
| HSV | hsv(228, 71%, 63%) |
| CMYK | cmyk(70.8%, 56.5%, 0%, 36.9%) |
| CIE-LAB | lab(33.04, 23.01, -51.99) |
| CIE-LCH | lch(33.04, 56.86, 293.88°) |
| OKLab | oklab(43.14% -0.0036 -0.1497) |
| OKLCH | oklch(43.14% 0.15 268.6) |
| XYZ | xyz(9.7933, 7.5569, 34.6538) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.38
Cobalt (survey)
#1E488F
ΔE00 4.31
Sapphire (survey)
#2138AB
ΔE00 4.70
Blueberry
#464196
ΔE00 4.92
Blue Blue
#2242C7
ΔE00 5.41
Sapphire
#0F52BA
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46A1 #A18A2F
analogous
#2F7FA1 #2F46A1 #512FA1
triadic
#2F46A1 #A12F46 #46A12F
tetradic
#2F46A1 #A12F7F #A18A2F #2FA151
square
#2F46A1 #A12F7F #A18A2F #2FA151
split-complementary
#2F46A1 #A1512F #7FA12F
monochromatic
#131D42 #213172 #2F46A1 #455FC9 #7488D6
Accessibility & contrast
On white
8.36
#2F46A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2F46A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46A1
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46A1 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f46a1; /* rgb */ color: rgb(47, 70, 161); /* oklch */ color: oklch(43.1% 0.150 268.6);
Tailwind
colors: {
custom: {
50: '#7679bd',
500: '#2f46a1',
950: '#000000',
},
}SCSS
$custom: #2f46a1; $custom-light: #7679bd; $custom-dark: #000000;
JSON
{
"hex": "#2f46a1",
"rgb": {
"r": 47,
"g": 70,
"b": 161
},
"hsl": {
"h": 227.895,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.43144,
"c": 0.14976,
"h": 268.6
},
"luminance": 0.07558
}Semantic roles & 50–950 ramp
primary
#2F46A1
secondary
#BEAE6E
accent
#C04ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81