#2C7EB9#2C7EB9
#2C7EB9 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.2% C 0.120 H 244.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7EB9 |
|---|---|
| RGB | rgb(44, 126, 185) |
| HSL | hsl(205, 62%, 45%) |
| HSV | hsv(205, 76%, 73%) |
| CMYK | cmyk(76.2%, 31.9%, 0%, 27.5%) |
| CIE-LAB | lab(50.64, -4.13, -37.99) |
| CIE-LCH | lch(50.64, 38.22, 263.80°) |
| OKLab | oklab(57.19% -0.052 -0.1077) |
| OKLCH | oklch(57.19% 0.12 244.2) |
| XYZ | xyz(17.2531, 18.9579, 48.6395) |
| Luminance | 0.1896 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.66
Nice Blue
#107AB0
ΔE00 3.04
Cool Blue
#4984B8
ΔE00 3.38
Cerulean (survey)
#0485D1
ΔE00 3.40
Bluish
#2976BB
ΔE00 3.45
Water Blue
#0E87CC
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7EB9 #B9672C
analogous
#2CB9AD #2C7EB9 #2C38B9
triadic
#2C7EB9 #B92C7E #7EB92C
tetradic
#2C7EB9 #AD2CB9 #B9672C #38B92C
square
#2C7EB9 #AD2CB9 #B9672C #38B92C
split-complementary
#2C7EB9 #B92C38 #B9AD2C
monochromatic
#143B56 #205C88 #2C7EB9 #4D9CD5 #7FB8E1
Accessibility & contrast
On white
4.38
#2C7EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#2C7EB9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7EB9
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7EB9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7EB9 | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6380BC
Deuteranopia (green-blind)
#4F73B8
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2c7eb9; /* rgb */ color: rgb(44, 126, 185); /* oklch */ color: oklch(57.2% 0.120 244.2);
Tailwind
colors: {
custom: {
50: '#79a3ce',
500: '#2c7eb9',
950: '#000000',
},
}SCSS
$custom: #2c7eb9; $custom-light: #79a3ce; $custom-dark: #000000;
JSON
{
"hex": "#2c7eb9",
"rgb": {
"r": 44,
"g": 126,
"b": 185
},
"hsl": {
"h": 205.106,
"s": 61.572,
"l": 44.902
},
"oklch": {
"l": 0.57191,
"c": 0.11964,
"h": 244.2
},
"luminance": 0.1896
}Semantic roles & 50–950 ramp
primary
#2C7EB9
secondary
#C99A78
accent
#8743E5
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82