#2E5EAF#2E5EAF
#2E5EAF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.140 H 260.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5EAF |
|---|---|
| RGB | rgb(46, 94, 175) |
| HSL | hsl(218, 58%, 43%) |
| HSV | hsv(218, 74%, 69%) |
| CMYK | cmyk(73.7%, 46.3%, 0%, 31.4%) |
| CIE-LAB | lab(40.70, 12.31, -47.97) |
| CIE-LCH | lch(40.70, 49.52, 284.39°) |
| OKLab | oklab(49.27% -0.0237 -0.1375) |
| OKLCH | oklch(49.27% 0.14 260.2) |
| XYZ | xyz(12.8645, 11.6800, 42.1256) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.25
Denim Blue
#3B5B92
ΔE00 3.92
Sapphire
#0F52BA
ΔE00 4.22
French Blue
#436BAD
ΔE00 4.56
Denim (survey)
#3B638C
ΔE00 4.64
Mid Blue
#276AB3
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5EAF #AF7F2E
analogous
#2E9EAF #2E5EAF #3E2EAF
triadic
#2E5EAF #AF2E5E #5EAF2E
tetradic
#2E5EAF #AF2E9E #AF7F2E #2EAF3E
square
#2E5EAF #AF2E9E #AF7F2E #2EAF3E
split-complementary
#2E5EAF #AF3E2E #9EAF2E
monochromatic
#152A4E #21447F #2E5EAF #4B7CD0 #7B9FDC
Accessibility & contrast
On white
6.29
#2E5EAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2E5EAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5EAF
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5EAF | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#175AAD
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2e5eaf; /* rgb */ color: rgb(46, 94, 175); /* oklch */ color: oklch(49.3% 0.140 260.2);
Tailwind
colors: {
custom: {
50: '#788bc7',
500: '#2e5eaf',
950: '#000000',
},
}SCSS
$custom: #2e5eaf; $custom-light: #788bc7; $custom-dark: #000000;
JSON
{
"hex": "#2e5eaf",
"rgb": {
"r": 46,
"g": 94,
"b": 175
},
"hsl": {
"h": 217.674,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.49271,
"c": 0.13952,
"h": 260.2
},
"luminance": 0.11681
}Semantic roles & 50–950 ramp
primary
#2E5EAF
secondary
#C5A774
accent
#A846E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82