#2F46B8#2F46B8
#2F46B8 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.1% C 0.181 H 269.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46B8 |
|---|---|
| RGB | rgb(47, 70, 184) |
| HSL | hsl(230, 59%, 45%) |
| HSV | hsv(230, 74%, 72%) |
| CMYK | cmyk(74.5%, 62%, 0%, 27.8%) |
| CIE-LAB | lab(34.89, 31.55, -62.69) |
| CIE-LCH | lch(34.89, 70.18, 296.72°) |
| OKLab | oklab(45.1% -0.0033 -0.1811) |
| OKLCH | oklch(45.1% 0.181 269) |
| XYZ | xyz(12.0112, 8.4441, 46.3350) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.28
Cobalt
#0047AB
ΔE00 4.36
Sapphire (survey)
#2138AB
ΔE00 4.38
Blue (survey)
#0343DF
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 4.82
Sapphire
#0F52BA
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46B8 #B8A12F
analogous
#2F8AB8 #2F46B8 #5C2FB8
triadic
#2F46B8 #B82F46 #46B82F
tetradic
#2F46B8 #B82F8A #B8A12F #2FB85C
square
#2F46B8 #B82F8A #B8A12F #2FB85C
split-complementary
#2F46B8 #B85C2F #8AB82F
monochromatic
#162157 #233387 #2F46B8 #5267D3 #8292DF
Accessibility & contrast
On white
7.81
#2F46B8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2F46B8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46B8
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46B8 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f46b8; /* rgb */ color: rgb(47, 70, 184); /* oklch */ color: oklch(45.1% 0.181 269.0);
Tailwind
colors: {
custom: {
50: '#7c79ce',
500: '#2f46b8',
950: '#000000',
},
}SCSS
$custom: #2f46b8; $custom-light: #7c79ce; $custom-dark: #000000;
JSON
{
"hex": "#2f46b8",
"rgb": {
"r": 47,
"g": 70,
"b": 184
},
"hsl": {
"h": 229.927,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.45099,
"c": 0.18116,
"h": 269
},
"luminance": 0.08445
}Semantic roles & 50–950 ramp
primary
#2F46B8
secondary
#C8BB7B
accent
#C845E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82