#2E518C#2E518C
#2E518C is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.106 H 260.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2E518C |
|---|---|
| RGB | rgb(46, 81, 140) |
| HSL | hsl(218, 51%, 36%) |
| HSV | hsv(218, 67%, 55%) |
| CMYK | cmyk(67.1%, 42.1%, 0%, 45.1%) |
| CIE-LAB | lab(34.72, 7.59, -36.56) |
| CIE-LCH | lch(34.72, 37.34, 281.73°) |
| OKLab | oklab(43.95% -0.018 -0.1042) |
| OKLCH | oklch(43.95% 0.106 260.2) |
| XYZ | xyz(8.8011, 8.3583, 25.9554) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.77
Cobalt (survey)
#1E488F
ΔE00 3.06
Denim Blue
#3B5B92
ΔE00 3.42
Light Navy
#155084
ΔE00 3.94
Light Navy Blue
#2E5A88
ΔE00 3.97
Cobalt
#0047AB
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E518C #8C692E
analogous
#2E808C #2E518C #3A2E8C
triadic
#2E518C #8C2E51 #518C2E
tetradic
#2E518C #8C2E80 #8C692E #2E8C3A
square
#2E518C #8C2E80 #8C692E #2E8C3A
split-complementary
#2E518C #8C3A2E #808C2E
monochromatic
#101C30 #1F365E #2E518C #3D6CBA #678DCD
Accessibility & contrast
On white
7.86
#2E518C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2E518C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E518C
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E518C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E518C | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e518c; /* rgb */ color: rgb(46, 81, 140); /* oklch */ color: oklch(44.0% 0.106 260.2);
Tailwind
colors: {
custom: {
50: '#7181ae',
500: '#2e518c',
950: '#000000',
},
}SCSS
$custom: #2e518c; $custom-light: #7181ae; $custom-dark: #000000;
JSON
{
"hex": "#2e518c",
"rgb": {
"r": 46,
"g": 81,
"b": 140
},
"hsl": {
"h": 217.66,
"s": 50.538,
"l": 36.471
},
"oklch": {
"l": 0.43953,
"c": 0.10573,
"h": 260.2
},
"luminance": 0.08359
}Semantic roles & 50–950 ramp
primary
#2E518C
secondary
#B49562
accent
#A64EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F