#2A7FAB#2A7FAB
#2A7FAB is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.6% C 0.104 H 235.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7FAB |
|---|---|
| RGB | rgb(42, 127, 171) |
| HSL | hsl(200, 61%, 42%) |
| HSV | hsv(200, 75%, 67%) |
| CMYK | cmyk(75.4%, 25.7%, 0%, 32.9%) |
| CIE-LAB | lab(50.23, -10.01, -30.56) |
| CIE-LCH | lch(50.23, 32.16, 251.87°) |
| OKLab | oklab(56.63% -0.0585 -0.0862) |
| OKLCH | oklch(56.63% 0.104 235.8) |
| XYZ | xyz(15.8920, 18.6094, 41.2746) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 2.53
Nice Blue
#107AB0
ΔE00 2.80
Steel Blue
#4682B4
ΔE00 4.60
Stormy Blue
#507B9C
ΔE00 4.94
Dirty Blue
#3F829D
ΔE00 5.01
Cool Blue
#4984B8
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7FAB #AB562A
analogous
#2AAB97 #2A7FAB #2A3FAB
triadic
#2A7FAB #AB2A7F #7FAB2A
tetradic
#2A7FAB #972AAB #AB562A #3FAB2A
square
#2A7FAB #972AAB #AB562A #3FAB2A
split-complementary
#2A7FAB #AB2A3F #AB972A
monochromatic
#123649 #1E5B7A #2A7FAB #42A0D1 #73B9DD
Accessibility & contrast
On white
4.45
#2A7FAB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#2A7FAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7FAB
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7FAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7FAB | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A7EAD
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2a7fab; /* rgb */ color: rgb(42, 127, 171); /* oklch */ color: oklch(56.6% 0.104 235.8);
Tailwind
colors: {
custom: {
50: '#76a4c4',
500: '#2a7fab',
950: '#000000',
},
}SCSS
$custom: #2a7fab; $custom-light: #76a4c4; $custom-dark: #000000;
JSON
{
"hex": "#2a7fab",
"rgb": {
"r": 42,
"g": 127,
"b": 171
},
"hsl": {
"h": 200.465,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.56633,
"c": 0.10416,
"h": 235.8
},
"luminance": 0.18611
}Semantic roles & 50–950 ramp
primary
#2A7FAB
secondary
#C48B6D
accent
#7B44E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81