#2D7FCC#2D7FCC
#2D7FCC is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.5% C 0.142 H 250.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7FCC |
|---|---|
| RGB | rgb(45, 127, 204) |
| HSL | hsl(209, 64%, 49%) |
| HSV | hsv(209, 78%, 80%) |
| CMYK | cmyk(77.9%, 37.7%, 0%, 20%) |
| CIE-LAB | lab(51.94, 2.37, -46.79) |
| CIE-LCH | lch(51.94, 46.85, 272.90°) |
| OKLab | oklab(58.55% -0.0471 -0.1335) |
| OKLCH | oklch(58.55% 0.142 250.6) |
| XYZ | xyz(19.5665, 20.0939, 59.9623) |
| Luminance | 0.2010 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.03
Cool Blue
#4984B8
ΔE00 3.14
Steel Blue
#4682B4
ΔE00 3.15
Cerulean (survey)
#0485D1
ΔE00 3.36
Bluish
#2976BB
ΔE00 3.74
Water Blue
#0E87CC
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7FCC #CC7A2D
analogous
#2DCCCA #2D7FCC #2D2FCC
triadic
#2D7FCC #CC2D7F #7FCC2D
tetradic
#2D7FCC #CA2DCC #CC7A2D #2FCC2D
square
#2D7FCC #CA2DCC #CC7A2D #2FCC2D
split-complementary
#2D7FCC #CC2D2F #CCCA2D
monochromatic
#174168 #22609A #2D7FCC #5B9DDB #8DBBE6
Accessibility & contrast
On white
4.18
#2D7FCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#2D7FCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D7FCC
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7FCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D7FCC | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B84CF
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2d7fcc; /* rgb */ color: rgb(45, 127, 204); /* oklch */ color: oklch(58.5% 0.142 250.6);
Tailwind
colors: {
custom: {
50: '#7da3dc',
500: '#2d7fcc',
950: '#000000',
},
}SCSS
$custom: #2d7fcc; $custom-light: #7da3dc; $custom-dark: #000000;
JSON
{
"hex": "#2d7fcc",
"rgb": {
"r": 45,
"g": 127,
"b": 204
},
"hsl": {
"h": 209.057,
"s": 63.855,
"l": 48.824
},
"oklch": {
"l": 0.58546,
"c": 0.14152,
"h": 250.6
},
"luminance": 0.20096
}Semantic roles & 50–950 ramp
primary
#2D7FCC
secondary
#D0A985
accent
#9141E7
background
#F8FAFD
surface
#EFF3FB
border
#CACDD4
text
#0B0F15
muted
#7C7F83