#2A7BA8#2A7BA8
#2A7BA8 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.5% C 0.104 H 237.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7BA8 |
|---|---|
| RGB | rgb(42, 123, 168) |
| HSL | hsl(201, 60%, 41%) |
| HSV | hsv(201, 75%, 66%) |
| CMYK | cmyk(75%, 26.8%, 0%, 34.1%) |
| CIE-LAB | lab(48.86, -8.77, -30.95) |
| CIE-LCH | lch(48.86, 32.16, 254.18°) |
| OKLab | oklab(55.5% -0.0556 -0.0873) |
| OKLCH | oklch(55.5% 0.104 237.5) |
| XYZ | xyz(15.1029, 17.4836, 39.6169) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.74
Cerulean
#007BA7
ΔE00 2.42
Ocean Blue (survey)
#03719C
ΔE00 4.36
Stormy Blue
#507B9C
ΔE00 4.58
Steel Blue
#4682B4
ΔE00 4.81
Dull Blue
#49759C
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7BA8 #A8572A
analogous
#2AA896 #2A7BA8 #2A3CA8
triadic
#2A7BA8 #A82A7B #7BA82A
tetradic
#2A7BA8 #962AA8 #A8572A #3CA82A
square
#2A7BA8 #962AA8 #A8572A #3CA82A
split-complementary
#2A7BA8 #A82A3C #A8962A
monochromatic
#123346 #1E5777 #2A7BA8 #409CCF #71B5DB
Accessibility & contrast
On white
4.67
#2A7BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#2A7BA8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7BA8
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7BA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7BA8 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#667BAA
Deuteranopia (green-blind)
#546FA7
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2a7ba8; /* rgb */ color: rgb(42, 123, 168); /* oklch */ color: oklch(55.5% 0.104 237.5);
Tailwind
colors: {
custom: {
50: '#75a1c2',
500: '#2a7ba8',
950: '#000000',
},
}SCSS
$custom: #2a7ba8; $custom-light: #75a1c2; $custom-dark: #000000;
JSON
{
"hex": "#2a7ba8",
"rgb": {
"r": 42,
"g": 123,
"b": 168
},
"hsl": {
"h": 201.429,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.55504,
"c": 0.10352,
"h": 237.5
},
"luminance": 0.17485
}Semantic roles & 50–950 ramp
primary
#2A7BA8
secondary
#C38A6B
accent
#7D45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81