#2A5E9C#2A5E9C
#2A5E9C is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.9% C 0.115 H 254.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5E9C |
|---|---|
| RGB | rgb(42, 94, 156) |
| HSL | hsl(213, 58%, 39%) |
| HSV | hsv(213, 73%, 61%) |
| CMYK | cmyk(73.1%, 39.7%, 0%, 38.8%) |
| CIE-LAB | lab(39.41, 4.52, -38.78) |
| CIE-LCH | lch(39.41, 39.04, 276.65°) |
| OKLab | oklab(47.85% -0.0306 -0.1105) |
| OKLCH | oklch(47.85% 0.115 254.5) |
| XYZ | xyz(10.9561, 10.8968, 32.9719) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.72
Denim (survey)
#3B638C
ΔE00 3.16
Denim Blue
#3B5B92
ΔE00 3.31
Denim
#1560BD
ΔE00 3.60
Dusk Blue
#26538D
ΔE00 3.98
Mid Blue
#276AB3
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5E9C #9C682A
analogous
#2A979C #2A5E9C #2F2A9C
triadic
#2A5E9C #9C2A5E #5E9C2A
tetradic
#2A5E9C #9C2A97 #9C682A #2A9C2F
square
#2A5E9C #9C2A97 #9C682A #2A9C2F
split-complementary
#2A5E9C #9C2F2A #979C2A
monochromatic
#10243C #1D416C #2A5E9C #397BCA #6A9BD7
Accessibility & contrast
On white
6.60
#2A5E9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2A5E9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5E9C
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5E9C | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41639E
Deuteranopia (green-blind)
#30589B
Tritanopia (blue-blind)
#006D75
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a5e9c; /* rgb */ color: rgb(42, 94, 156); /* oklch */ color: oklch(47.9% 0.115 254.5);
Tailwind
colors: {
custom: {
50: '#728bb9',
500: '#2a5e9c',
950: '#000000',
},
}SCSS
$custom: #2a5e9c; $custom-light: #728bb9; $custom-dark: #000000;
JSON
{
"hex": "#2a5e9c",
"rgb": {
"r": 42,
"g": 94,
"b": 156
},
"hsl": {
"h": 212.632,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.47854,
"c": 0.11469,
"h": 254.5
},
"luminance": 0.10898
}Semantic roles & 50–950 ramp
primary
#2A5E9C
secondary
#BD9565
accent
#9B47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80