#2A7FAF#2A7FAF
#2A7FAF is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.8% C 0.108 H 238.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7FAF |
|---|---|
| RGB | rgb(42, 127, 175) |
| HSL | hsl(202, 61%, 43%) |
| HSV | hsv(202, 76%, 69%) |
| CMYK | cmyk(76%, 27.4%, 0%, 31.4%) |
| CIE-LAB | lab(50.41, -8.58, -32.59) |
| CIE-LCH | lch(50.41, 33.70, 255.25°) |
| OKLab | oklab(56.84% -0.0572 -0.092) |
| OKLCH | oklch(56.84% 0.108 238.2) |
| XYZ | xyz(16.2790, 18.7642, 43.3130) |
| Luminance | 0.1877 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.26
Cerulean
#007BA7
ΔE00 3.28
Steel Blue
#4682B4
ΔE00 3.82
Water Blue
#0E87CC
ΔE00 4.58
Cool Blue
#4984B8
ΔE00 4.66
Stormy Blue
#507B9C
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7FAF #AF5A2A
analogous
#2AAF9C #2A7FAF #2A3DAF
triadic
#2A7FAF #AF2A7F #7FAF2A
tetradic
#2A7FAF #9C2AAF #AF5A2A #3DAF2A
square
#2A7FAF #9C2AAF #AF5A2A #3DAF2A
split-complementary
#2A7FAF #AF2A3D #AF9C2A
monochromatic
#12374C #1E5B7E #2A7FAF #449FD2 #75B8DE
Accessibility & contrast
On white
4.42
#2A7FAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#2A7FAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7FAF
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7FAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7FAF | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#687FB1
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2a7faf; /* rgb */ color: rgb(42, 127, 175); /* oklch */ color: oklch(56.8% 0.108 238.2);
Tailwind
colors: {
custom: {
50: '#77a4c7',
500: '#2a7faf',
950: '#000000',
},
}SCSS
$custom: #2a7faf; $custom-light: #77a4c7; $custom-dark: #000000;
JSON
{
"hex": "#2a7faf",
"rgb": {
"r": 42,
"g": 127,
"b": 175
},
"hsl": {
"h": 201.654,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.56839,
"c": 0.10834,
"h": 238.2
},
"luminance": 0.18766
}Semantic roles & 50–950 ramp
primary
#2A7FAF
secondary
#C68E6F
accent
#7E43E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82