#2A7DAF#2A7DAF
#2A7DAF is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.4% C 0.110 H 239.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7DAF |
|---|---|
| RGB | rgb(42, 125, 175) |
| HSL | hsl(203, 61%, 43%) |
| HSV | hsv(203, 76%, 69%) |
| CMYK | cmyk(76%, 28.6%, 0%, 31.4%) |
| CIE-LAB | lab(49.80, -7.41, -33.54) |
| CIE-LCH | lch(49.80, 34.35, 257.54°) |
| OKLab | oklab(56.36% -0.0552 -0.0948) |
| OKLCH | oklch(56.36% 0.11 239.8) |
| XYZ | xyz(16.0233, 18.2527, 43.2278) |
| Luminance | 0.1825 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.62
Cerulean
#007BA7
ΔE00 3.57
Steel Blue
#4682B4
ΔE00 3.72
Bluish
#2976BB
ΔE00 4.60
Cool Blue
#4984B8
ΔE00 4.62
Water Blue
#0E87CC
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7DAF #AF5C2A
analogous
#2AAF9E #2A7DAF #2A3BAF
triadic
#2A7DAF #AF2A7D #7DAF2A
tetradic
#2A7DAF #9E2AAF #AF5C2A #3BAF2A
square
#2A7DAF #9E2AAF #AF5C2A #3BAF2A
split-complementary
#2A7DAF #AF2A3B #AF9E2A
monochromatic
#12364C #1E5A7E #2A7DAF #449DD2 #75B7DE
Accessibility & contrast
On white
4.52
#2A7DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#2A7DAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7DAF
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7DAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7DAF | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#667DB1
Deuteranopia (green-blind)
#5371AE
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2a7daf; /* rgb */ color: rgb(42, 125, 175); /* oklch */ color: oklch(56.4% 0.110 239.8);
Tailwind
colors: {
custom: {
50: '#77a2c7',
500: '#2a7daf',
950: '#000000',
},
}SCSS
$custom: #2a7daf; $custom-light: #77a2c7; $custom-dark: #000000;
JSON
{
"hex": "#2a7daf",
"rgb": {
"r": 42,
"g": 125,
"b": 175
},
"hsl": {
"h": 202.556,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.56355,
"c": 0.10973,
"h": 239.8
},
"luminance": 0.18255
}Semantic roles & 50–950 ramp
primary
#2A7DAF
secondary
#C6906F
accent
#8043E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82