#2A7BAF#2A7BAF
#2A7BAF is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.111 H 241.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7BAF |
|---|---|
| RGB | rgb(42, 123, 175) |
| HSL | hsl(203, 61%, 43%) |
| HSV | hsv(203, 76%, 69%) |
| CMYK | cmyk(76%, 29.7%, 0%, 31.4%) |
| CIE-LAB | lab(49.19, -6.24, -34.50) |
| CIE-LCH | lch(49.19, 35.06, 259.74°) |
| OKLab | oklab(55.87% -0.0533 -0.0976) |
| OKLCH | oklch(55.87% 0.111 241.4) |
| XYZ | xyz(15.7726, 17.7515, 43.1442) |
| Luminance | 0.1775 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.46
Bluish
#2976BB
ΔE00 3.70
Steel Blue
#4682B4
ΔE00 3.85
Cerulean
#007BA7
ΔE00 4.07
Flat Blue
#3C73A8
ΔE00 4.38
Muted Blue
#3B719F
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7BAF #AF5E2A
analogous
#2AAFA1 #2A7BAF #2A38AF
triadic
#2A7BAF #AF2A7B #7BAF2A
tetradic
#2A7BAF #A12AAF #AF5E2A #38AF2A
square
#2A7BAF #A12AAF #AF5E2A #38AF2A
split-complementary
#2A7BAF #AF2A38 #AFA12A
monochromatic
#12364C #1E587E #2A7BAF #449BD2 #75B5DE
Accessibility & contrast
On white
4.61
#2A7BAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#2A7BAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7BAF
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7BAF | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#637CB1
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2a7baf; /* rgb */ color: rgb(42, 123, 175); /* oklch */ color: oklch(55.9% 0.111 241.4);
Tailwind
colors: {
custom: {
50: '#77a1c7',
500: '#2a7baf',
950: '#000000',
},
}SCSS
$custom: #2a7baf; $custom-light: #77a1c7; $custom-dark: #000000;
JSON
{
"hex": "#2a7baf",
"rgb": {
"r": 42,
"g": 123,
"b": 175
},
"hsl": {
"h": 203.459,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.55874,
"c": 0.11121,
"h": 241.4
},
"luminance": 0.17753
}Semantic roles & 50–950 ramp
primary
#2A7BAF
secondary
#C6916F
accent
#8243E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82