#2A5F7E#2A5F7E
#2A5F7E is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.075 H 237.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F7E |
|---|---|
| RGB | rgb(42, 95, 126) |
| HSL | hsl(202, 50%, 33%) |
| HSV | hsv(202, 67%, 49%) |
| CMYK | cmyk(66.7%, 24.6%, 0%, 50.6%) |
| CIE-LAB | lab(38.17, -7.19, -22.59) |
| CIE-LCH | lch(38.17, 23.71, 252.36°) |
| OKLab | oklab(46.37% -0.0409 -0.0634) |
| OKLCH | oklch(46.37% 0.075 237.2) |
| XYZ | xyz(8.8115, 10.1821, 21.2356) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ugly Blue
#31668A
ΔE00 3.05
Peacock Blue
#016795
ΔE00 4.46
Deep Sea Blue
#015482
ΔE00 5.27
Denim (survey)
#3B638C
ΔE00 5.32
Light Navy Blue
#2E5A88
ΔE00 5.61
Ocean Blue (survey)
#03719C
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F7E #7E492A
analogous
#2A7E73 #2A5F7E #2A357E
triadic
#2A5F7E #7E2A5F #5F7E2A
tetradic
#2A5F7E #732A7E #7E492A #357E2A
square
#2A5F7E #732A7E #7E492A #357E2A
split-complementary
#2A5F7E #7E2A35 #7E732A
monochromatic
#0B1A22 #1B3C50 #2A5F7E #3982AC #5AA0C8
Accessibility & contrast
On white
6.92
#2A5F7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2A5F7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5F7E
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F7E | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505F7F
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a5f7e; /* rgb */ color: rgb(42, 95, 126); /* oklch */ color: oklch(46.4% 0.075 237.2);
Tailwind
colors: {
custom: {
50: '#6d8ca3',
500: '#2a5f7e',
950: '#000000',
},
}SCSS
$custom: #2a5f7e; $custom-light: #6d8ca3; $custom-dark: #000000;
JSON
{
"hex": "#2a5f7e",
"rgb": {
"r": 42,
"g": 95,
"b": 126
},
"hsl": {
"h": 202.143,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.46372,
"c": 0.07545,
"h": 237.2
},
"luminance": 0.10183
}Semantic roles & 50–950 ramp
primary
#2A5F7E
secondary
#AE7656
accent
#824EDA
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#080C0F
muted
#7B7D7F