#2F46BE#2F46BE
#2F46BE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.189 H 269.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46BE |
|---|---|
| RGB | rgb(47, 70, 190) |
| HSL | hsl(230, 60%, 46%) |
| HSV | hsv(230, 75%, 75%) |
| CMYK | cmyk(75.3%, 63.2%, 0%, 25.5%) |
| CIE-LAB | lab(35.40, 33.74, -65.39) |
| CIE-LCH | lch(35.40, 73.58, 297.30°) |
| OKLab | oklab(45.63% -0.0034 -0.189) |
| OKLCH | oklch(45.63% 0.189 269) |
| XYZ | xyz(12.6535, 8.7010, 49.7178) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.67
Blue (survey)
#0343DF
ΔE00 4.04
Ocean Blue
#4F42B5
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 4.73
Cobalt
#0047AB
ΔE00 4.93
Sapphire
#0F52BA
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46BE #BEA72F
analogous
#2F8EBE #2F46BE #602FBE
triadic
#2F46BE #BE2F46 #46BE2F
tetradic
#2F46BE #BE2F8E #BEA72F #2FBE60
square
#2F46BE #BE2F8E #BEA72F #2FBE60
split-complementary
#2F46BE #BE602F #8EBE2F
monochromatic
#17225C #23348D #2F46BE #556AD5 #8695E1
Accessibility & contrast
On white
7.66
#2F46BE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2F46BE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46BE
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46BE | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f46be; /* rgb */ color: rgb(47, 70, 190); /* oklch */ color: oklch(45.6% 0.189 269.0);
Tailwind
colors: {
custom: {
50: '#7d79d3',
500: '#2f46be',
950: '#000000',
},
}SCSS
$custom: #2f46be; $custom-light: #7d79d3; $custom-dark: #000000;
JSON
{
"hex": "#2f46be",
"rgb": {
"r": 47,
"g": 70,
"b": 190
},
"hsl": {
"h": 230.35,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.45634,
"c": 0.18906,
"h": 269
},
"luminance": 0.08702
}Semantic roles & 50–950 ramp
primary
#2F46BE
secondary
#CBBE7E
accent
#CA44E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83