#2F46B7#2F46B7
#2F46B7 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.180 H 269.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46B7 |
|---|---|
| RGB | rgb(47, 70, 183) |
| HSL | hsl(230, 59%, 45%) |
| HSV | hsv(230, 74%, 72%) |
| CMYK | cmyk(74.3%, 61.7%, 0%, 28.2%) |
| CIE-LAB | lab(34.81, 31.19, -62.24) |
| CIE-LCH | lch(34.81, 69.61, 296.61°) |
| OKLab | oklab(45.01% -0.0033 -0.1798) |
| OKLCH | oklch(45.01% 0.18 269) |
| XYZ | xyz(11.9067, 8.4023, 45.7849) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.40
Cobalt
#0047AB
ΔE00 4.27
Sapphire (survey)
#2138AB
ΔE00 4.33
Ocean Blue
#4F42B5
ΔE00 4.86
Blue (survey)
#0343DF
ΔE00 4.94
Sapphire
#0F52BA
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46B7 #B7A02F
analogous
#2F8AB7 #2F46B7 #5C2FB7
triadic
#2F46B7 #B72F46 #46B72F
tetradic
#2F46B7 #B72F8A #B7A02F #2FB75C
square
#2F46B7 #B72F8A #B7A02F #2FB75C
split-complementary
#2F46B7 #B75C2F #8AB72F
monochromatic
#162156 #223386 #2F46B7 #5167D2 #8291DF
Accessibility & contrast
On white
7.83
#2F46B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2F46B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46B7
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46B7 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f46b7; /* rgb */ color: rgb(47, 70, 183); /* oklch */ color: oklch(45.0% 0.180 269.0);
Tailwind
colors: {
custom: {
50: '#7b79ce',
500: '#2f46b7',
950: '#000000',
},
}SCSS
$custom: #2f46b7; $custom-light: #7b79ce; $custom-dark: #000000;
JSON
{
"hex": "#2f46b7",
"rgb": {
"r": 47,
"g": 70,
"b": 183
},
"hsl": {
"h": 229.853,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.45011,
"c": 0.17984,
"h": 269
},
"luminance": 0.08404
}Semantic roles & 50–950 ramp
primary
#2F46B7
secondary
#C8BB7A
accent
#C845E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82