#2A7BA6#2A7BA6
#2A7BA6 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.4% C 0.101 H 236.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7BA6 |
|---|---|
| RGB | rgb(42, 123, 166) |
| HSL | hsl(201, 60%, 41%) |
| HSV | hsv(201, 75%, 65%) |
| CMYK | cmyk(74.7%, 25.9%, 0%, 34.9%) |
| CIE-LAB | lab(48.77, -9.48, -29.93) |
| CIE-LCH | lch(48.77, 31.39, 252.42°) |
| OKLab | oklab(55.4% -0.0563 -0.0844) |
| OKLCH | oklch(55.4% 0.101 236.3) |
| XYZ | xyz(14.9180, 17.4096, 38.6432) |
| Luminance | 0.1741 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 2.00
Nice Blue
#107AB0
ΔE00 2.21
Ocean Blue (survey)
#03719C
ΔE00 4.17
Stormy Blue
#507B9C
ΔE00 4.62
Dull Blue
#49759C
ΔE00 5.16
Steel Blue
#4682B4
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7BA6 #A6552A
analogous
#2AA693 #2A7BA6 #2A3DA6
triadic
#2A7BA6 #A62A7B #7BA62A
tetradic
#2A7BA6 #932AA6 #A6552A #3DA62A
square
#2A7BA6 #932AA6 #A6552A #3DA62A
split-complementary
#2A7BA6 #A62A3D #A6932A
monochromatic
#113344 #1E5775 #2A7BA6 #3F9DCE #70B6DB
Accessibility & contrast
On white
4.69
#2A7BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#2A7BA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7BA6
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7BA6 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#667AA8
Deuteranopia (green-blind)
#566FA5
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2a7ba6; /* rgb */ color: rgb(42, 123, 166); /* oklch */ color: oklch(55.4% 0.101 236.3);
Tailwind
colors: {
custom: {
50: '#75a1c0',
500: '#2a7ba6',
950: '#000000',
},
}SCSS
$custom: #2a7ba6; $custom-light: #75a1c0; $custom-dark: #000000;
JSON
{
"hex": "#2a7ba6",
"rgb": {
"r": 42,
"g": 123,
"b": 166
},
"hsl": {
"h": 200.806,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.55401,
"c": 0.10142,
"h": 236.3
},
"luminance": 0.17411
}Semantic roles & 50–950 ramp
primary
#2A7BA6
secondary
#C2886A
accent
#7C45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81