#2A5F7D#2A5F7D
#2A5F7D is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.3% C 0.074 H 236.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F7D |
|---|---|
| RGB | rgb(42, 95, 125) |
| HSL | hsl(202, 50%, 33%) |
| HSV | hsv(202, 66%, 49%) |
| CMYK | cmyk(66.4%, 24%, 0%, 51%) |
| CIE-LAB | lab(38.12, -7.54, -22.05) |
| CIE-LCH | lch(38.12, 23.31, 251.12°) |
| OKLab | oklab(46.32% -0.0412 -0.0619) |
| OKLCH | oklch(46.32% 0.074 236.3) |
| XYZ | xyz(8.7473, 10.1564, 20.8975) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ugly Blue
#31668A
ΔE00 3.29
Peacock Blue
#016795
ΔE00 4.66
Deep Sea Blue
#015482
ΔE00 5.54
Denim (survey)
#3B638C
ΔE00 5.66
Light Navy Blue
#2E5A88
ΔE00 5.97
Ocean Blue (survey)
#03719C
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F7D #7D482A
analogous
#2A7D72 #2A5F7D #2A357D
triadic
#2A5F7D #7D2A5F #5F7D2A
tetradic
#2A5F7D #722A7D #7D482A #357D2A
square
#2A5F7D #722A7D #7D482A #357D2A
split-complementary
#2A5F7D #7D2A35 #7D722A
monochromatic
#0B1921 #1B3C4F #2A5F7D #3982AB #5AA0C8
Accessibility & contrast
On white
6.93
#2A5F7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2A5F7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5F7D
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F7D | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515E7E
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a5f7d; /* rgb */ color: rgb(42, 95, 125); /* oklch */ color: oklch(46.3% 0.074 236.3);
Tailwind
colors: {
custom: {
50: '#6d8ca2',
500: '#2a5f7d',
950: '#000000',
},
}SCSS
$custom: #2a5f7d; $custom-light: #6d8ca2; $custom-dark: #000000;
JSON
{
"hex": "#2a5f7d",
"rgb": {
"r": 42,
"g": 95,
"b": 125
},
"hsl": {
"h": 201.687,
"s": 49.701,
"l": 32.745
},
"oklch": {
"l": 0.46321,
"c": 0.07435,
"h": 236.3
},
"luminance": 0.10157
}Semantic roles & 50–950 ramp
primary
#2A5F7D
secondary
#AD7556
accent
#814FD9
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#080C0F
muted
#7B7D7F