#2A7CAC#2A7CAC
#2A7CAC is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.0% C 0.107 H 239.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7CAC |
|---|---|
| RGB | rgb(42, 124, 172) |
| HSL | hsl(202, 61%, 42%) |
| HSV | hsv(202, 76%, 67%) |
| CMYK | cmyk(75.6%, 27.9%, 0%, 32.5%) |
| CIE-LAB | lab(49.36, -7.91, -32.50) |
| CIE-LCH | lch(49.36, 33.45, 256.32°) |
| OKLab | oklab(55.96% -0.0552 -0.0918) |
| OKLCH | oklch(55.96% 0.107 239) |
| XYZ | xyz(15.6060, 17.8843, 41.6512) |
| Luminance | 0.1789 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.46
Cerulean
#007BA7
ΔE00 3.08
Steel Blue
#4682B4
ΔE00 4.16
Stormy Blue
#507B9C
ΔE00 4.65
Bluish
#2976BB
ΔE00 4.78
Dull Blue
#49759C
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7CAC #AC5A2A
analogous
#2AAC9B #2A7CAC #2A3BAC
triadic
#2A7CAC #AC2A7C #7CAC2A
tetradic
#2A7CAC #9B2AAC #AC5A2A #3BAC2A
square
#2A7CAC #9B2AAC #AC5A2A #3BAC2A
split-complementary
#2A7CAC #AC2A3B #AC9B2A
monochromatic
#12354A #1E597B #2A7CAC #429CD1 #73B6DD
Accessibility & contrast
On white
4.59
#2A7CAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#2A7CAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7CAC
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7CAC | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657CAE
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2a7cac; /* rgb */ color: rgb(42, 124, 172); /* oklch */ color: oklch(56.0% 0.107 239.0);
Tailwind
colors: {
custom: {
50: '#76a1c5',
500: '#2a7cac',
950: '#000000',
},
}SCSS
$custom: #2a7cac; $custom-light: #76a1c5; $custom-dark: #000000;
JSON
{
"hex": "#2a7cac",
"rgb": {
"r": 42,
"g": 124,
"b": 172
},
"hsl": {
"h": 202.154,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.55955,
"c": 0.10715,
"h": 239
},
"luminance": 0.17886
}Semantic roles & 50–950 ramp
primary
#2A7CAC
secondary
#C48E6D
accent
#7F44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82