#2A5EA6#2A5EA6
#2A5EA6 is a mid, vivid cyan. Relative luminance 0.113; OKLCH L 48.5% C 0.128 H 257.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5EA6 |
|---|---|
| RGB | rgb(42, 94, 166) |
| HSL | hsl(215, 60%, 41%) |
| HSV | hsv(215, 75%, 65%) |
| CMYK | cmyk(74.7%, 43.4%, 0%, 34.9%) |
| CIE-LAB | lab(40.00, 8.33, -43.79) |
| CIE-LCH | lch(40.00, 44.57, 280.77°) |
| OKLab | oklab(48.51% -0.0283 -0.1253) |
| OKLCH | oklch(48.51% 0.128 257.3) |
| XYZ | xyz(11.8380, 11.2495, 37.6165) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim
#1560BD
ΔE00 2.61
Denim Blue
#3B5B92
ΔE00 3.47
Light Navy Blue
#2E5A88
ΔE00 3.80
Denim (survey)
#3B638C
ΔE00 3.87
Dusk Blue
#26538D
ΔE00 4.53
Mid Blue
#276AB3
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5EA6 #A6722A
analogous
#2A9CA6 #2A5EA6 #342AA6
triadic
#2A5EA6 #A62A5E #5EA62A
tetradic
#2A5EA6 #A62A9C #A6722A #2AA634
square
#2A5EA6 #A62A9C #A6722A #2AA634
split-complementary
#2A5EA6 #A6342A #9CA62A
monochromatic
#112744 #1E4275 #2A5EA6 #3F7BCE #709DDB
Accessibility & contrast
On white
6.46
#2A5EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2A5EA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5EA6
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5EA6 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B64A9
Deuteranopia (green-blind)
#2459A5
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a5ea6; /* rgb */ color: rgb(42, 94, 166); /* oklch */ color: oklch(48.5% 0.128 257.3);
Tailwind
colors: {
custom: {
50: '#758bc1',
500: '#2a5ea6',
950: '#000000',
},
}SCSS
$custom: #2a5ea6; $custom-light: #758bc1; $custom-dark: #000000;
JSON
{
"hex": "#2a5ea6",
"rgb": {
"r": 42,
"g": 94,
"b": 166
},
"hsl": {
"h": 214.839,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.48505,
"c": 0.12842,
"h": 257.3
},
"luminance": 0.11251
}Semantic roles & 50–950 ramp
primary
#2A5EA6
secondary
#C29D6A
accent
#A145E3
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81