#2E4FBC#2E4FBC
#2E4FBC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.176 H 266.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4FBC |
|---|---|
| RGB | rgb(46, 79, 188) |
| HSL | hsl(226, 61%, 46%) |
| HSV | hsv(226, 76%, 74%) |
| CMYK | cmyk(75.5%, 58%, 0%, 26.3%) |
| CIE-LAB | lab(37.49, 27.05, -60.81) |
| CIE-LCH | lch(37.49, 66.56, 293.98°) |
| OKLab | oklab(47.12% -0.0103 -0.1755) |
| OKLCH | oklch(47.12% 0.176 266.6) |
| XYZ | xyz(12.9966, 9.8022, 48.7743) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.03
Blue Blue
#2242C7
ΔE00 4.29
Cobalt
#0047AB
ΔE00 4.34
Blue (survey)
#0343DF
ΔE00 5.51
Warm Blue
#4B57DB
ΔE00 6.17
Ocean Blue
#4F42B5
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4FBC #BC9B2E
analogous
#2E96BC #2E4FBC #542EBC
triadic
#2E4FBC #BC2E4F #4FBC2E
tetradic
#2E4FBC #BC2E96 #BC9B2E #2EBC54
square
#2E4FBC #BC2E96 #BC9B2E #2EBC54
split-complementary
#2E4FBC #BC542E #96BC2E
monochromatic
#16265A #223A8B #2E4FBC #5271D5 #8499E1
Accessibility & contrast
On white
7.09
#2E4FBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2E4FBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4FBC
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4FBC | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e4fbc; /* rgb */ color: rgb(46, 79, 188); /* oklch */ color: oklch(47.1% 0.176 266.6);
Tailwind
colors: {
custom: {
50: '#7c7fd1',
500: '#2e4fbc',
950: '#000000',
},
}SCSS
$custom: #2e4fbc; $custom-light: #7c7fd1; $custom-dark: #000000;
JSON
{
"hex": "#2e4fbc",
"rgb": {
"r": 46,
"g": 79,
"b": 188
},
"hsl": {
"h": 226.056,
"s": 60.684,
"l": 45.882
},
"oklch": {
"l": 0.47119,
"c": 0.17583,
"h": 266.6
},
"luminance": 0.09804
}Semantic roles & 50–950 ramp
primary
#2E4FBC
secondary
#CAB87C
accent
#BF44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82