#2C7AB8#2C7AB8
#2C7AB8 is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.122 H 246.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7AB8 |
|---|---|
| RGB | rgb(44, 122, 184) |
| HSL | hsl(207, 61%, 45%) |
| HSV | hsv(207, 76%, 72%) |
| CMYK | cmyk(76.1%, 33.7%, 0%, 27.8%) |
| CIE-LAB | lab(49.39, -2.11, -39.39) |
| CIE-LCH | lch(49.39, 39.44, 266.93°) |
| OKLab | oklab(56.19% -0.0485 -0.1119) |
| OKLCH | oklch(56.19% 0.122 246.5) |
| XYZ | xyz(16.6467, 17.9133, 47.9184) |
| Luminance | 0.1792 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.79
Windows Blue
#3778BF
ΔE00 2.63
Nice Blue
#107AB0
ΔE00 3.38
Flat Blue
#3C73A8
ΔE00 3.45
Steel Blue
#4682B4
ΔE00 3.55
Cool Blue
#4984B8
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7AB8 #B86A2C
analogous
#2CB8B0 #2C7AB8 #2C34B8
triadic
#2C7AB8 #B82C7A #7AB82C
tetradic
#2C7AB8 #B02CB8 #B86A2C #34B82C
square
#2C7AB8 #B02CB8 #B86A2C #34B82C
split-complementary
#2C7AB8 #B82C34 #B8B02C
monochromatic
#143955 #205987 #2C7AB8 #4D98D4 #7EB5E0
Accessibility & contrast
On white
4.58
#2C7AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#2C7AB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7AB8
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7AB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7AB8 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7DBB
Deuteranopia (green-blind)
#4970B7
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2c7ab8; /* rgb */ color: rgb(44, 122, 184); /* oklch */ color: oklch(56.2% 0.122 246.5);
Tailwind
colors: {
custom: {
50: '#79a0cd',
500: '#2c7ab8',
950: '#000000',
},
}SCSS
$custom: #2c7ab8; $custom-light: #79a0cd; $custom-dark: #000000;
JSON
{
"hex": "#2c7ab8",
"rgb": {
"r": 44,
"g": 122,
"b": 184
},
"hsl": {
"h": 206.571,
"s": 61.404,
"l": 44.706
},
"oklch": {
"l": 0.56191,
"c": 0.12194,
"h": 246.5
},
"luminance": 0.17915
}Semantic roles & 50–950 ramp
primary
#2C7AB8
secondary
#C99B77
accent
#8B43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82