#2F46A7#2F46A7
#2F46A7 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.158 H 268.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46A7 |
|---|---|
| RGB | rgb(47, 70, 167) |
| HSL | hsl(229, 56%, 42%) |
| HSV | hsv(229, 72%, 65%) |
| CMYK | cmyk(71.9%, 58.1%, 0%, 34.5%) |
| CIE-LAB | lab(33.51, 25.26, -54.84) |
| CIE-LCH | lch(33.51, 60.38, 294.73°) |
| OKLab | oklab(43.64% -0.0034 -0.1581) |
| OKLCH | oklch(43.64% 0.158 268.8) |
| XYZ | xyz(10.3351, 7.7736, 37.5075) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.36
Sapphire (survey)
#2138AB
ΔE00 4.34
Blue Blue
#2242C7
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 5.00
Blueberry
#464196
ΔE00 5.09
Sapphire
#0F52BA
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46A7 #A7902F
analogous
#2F82A7 #2F46A7 #542FA7
triadic
#2F46A7 #A72F46 #46A72F
tetradic
#2F46A7 #A72F82 #A7902F #2FA754
square
#2F46A7 #A72F82 #A7902F #2FA754
split-complementary
#2F46A7 #A7542F #82A72F
monochromatic
#141E47 #223277 #2F46A7 #4861CB #788AD9
Accessibility & contrast
On white
8.22
#2F46A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2F46A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46A7
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46A7 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f46a7; /* rgb */ color: rgb(47, 70, 167); /* oklch */ color: oklch(43.6% 0.158 268.8);
Tailwind
colors: {
custom: {
50: '#7879c2',
500: '#2f46a7',
950: '#000000',
},
}SCSS
$custom: #2f46a7; $custom-light: #7879c2; $custom-dark: #000000;
JSON
{
"hex": "#2f46a7",
"rgb": {
"r": 47,
"g": 70,
"b": 167
},
"hsl": {
"h": 228.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.43638,
"c": 0.15814,
"h": 268.8
},
"luminance": 0.07775
}Semantic roles & 50–950 ramp
primary
#2F46A7
secondary
#C1B271
accent
#C248DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81