#2A5EA2#2A5EA2
#2A5EA2 is a mid, vivid cyan. Relative luminance 0.111; OKLCH L 48.2% C 0.123 H 256.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5EA2 |
|---|---|
| RGB | rgb(42, 94, 162) |
| HSL | hsl(214, 59%, 40%) |
| HSV | hsv(214, 74%, 64%) |
| CMYK | cmyk(74.1%, 42%, 0%, 36.5%) |
| CIE-LAB | lab(39.76, 6.80, -41.80) |
| CIE-LCH | lch(39.76, 42.35, 279.24°) |
| OKLab | oklab(48.24% -0.0292 -0.1194) |
| OKLCH | oklch(48.24% 0.123 256.3) |
| XYZ | xyz(11.4767, 11.1050, 35.7140) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim
#1560BD
ΔE00 2.99
Denim Blue
#3B5B92
ΔE00 3.34
Light Navy Blue
#2E5A88
ΔE00 3.36
Denim (survey)
#3B638C
ΔE00 3.58
Dusk Blue
#26538D
ΔE00 4.26
Mid Blue
#276AB3
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5EA2 #A26E2A
analogous
#2A9AA2 #2A5EA2 #322AA2
triadic
#2A5EA2 #A22A5E #5EA22A
tetradic
#2A5EA2 #A22A9A #A26E2A #2AA232
square
#2A5EA2 #A22A9A #A26E2A #2AA232
split-complementary
#2A5EA2 #A2322A #9AA22A
monochromatic
#112641 #1D4271 #2A5EA2 #3D7BCD #6D9CD9
Accessibility & contrast
On white
6.52
#2A5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2A5EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5EA2
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5EA2 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D64A5
Deuteranopia (green-blind)
#2959A1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a5ea2; /* rgb */ color: rgb(42, 94, 162); /* oklch */ color: oklch(48.2% 0.123 256.3);
Tailwind
colors: {
custom: {
50: '#748bbe',
500: '#2a5ea2',
950: '#000000',
},
}SCSS
$custom: #2a5ea2; $custom-light: #748bbe; $custom-dark: #000000;
JSON
{
"hex": "#2a5ea2",
"rgb": {
"r": 42,
"g": 94,
"b": 162
},
"hsl": {
"h": 214,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.4824,
"c": 0.12292,
"h": 256.3
},
"luminance": 0.11106
}Semantic roles & 50–950 ramp
primary
#2A5EA2
secondary
#C09A68
accent
#9E46E2
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090B12
muted
#7B7C81