#2E4FBF#2E4FBF
#2E4FBF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.180 H 266.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4FBF |
|---|---|
| RGB | rgb(46, 79, 191) |
| HSL | hsl(226, 61%, 46%) |
| HSV | hsv(226, 76%, 75%) |
| CMYK | cmyk(75.9%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(37.72, 28.17, -62.18) |
| CIE-LCH | lch(37.72, 68.27, 294.37°) |
| OKLab | oklab(47.37% -0.0102 -0.1796) |
| OKLCH | oklch(47.37% 0.18 266.7) |
| XYZ | xyz(13.3234, 9.9329, 50.4952) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.23
Blue Blue
#2242C7
ΔE00 4.12
Cobalt
#0047AB
ΔE00 4.64
Blue (survey)
#0343DF
ΔE00 5.18
Warm Blue
#4B57DB
ΔE00 5.83
Ocean Blue
#4F42B5
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4FBF #BF9E2E
analogous
#2E98BF #2E4FBF #562EBF
triadic
#2E4FBF #BF2E4F #4FBF2E
tetradic
#2E4FBF #BF2E98 #BF9E2E #2EBF56
square
#2E4FBF #BF2E98 #BF9E2E #2EBF56
split-complementary
#2E4FBF #BF562E #98BF2E
monochromatic
#16265C #223B8E #2E4FBF #5472D6 #869BE2
Accessibility & contrast
On white
7.03
#2E4FBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2E4FBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4FBF
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4FBF | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2e4fbf; /* rgb */ color: rgb(46, 79, 191); /* oklch */ color: oklch(47.4% 0.180 266.7);
Tailwind
colors: {
custom: {
50: '#7c7fd3',
500: '#2e4fbf',
950: '#000000',
},
}SCSS
$custom: #2e4fbf; $custom-light: #7c7fd3; $custom-dark: #000000;
JSON
{
"hex": "#2e4fbf",
"rgb": {
"r": 46,
"g": 79,
"b": 191
},
"hsl": {
"h": 226.345,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.4737,
"c": 0.17985,
"h": 266.7
},
"luminance": 0.09934
}Semantic roles & 50–950 ramp
primary
#2E4FBF
secondary
#CBBA7E
accent
#C044E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83