#2D7FC7#2D7FC7
#2D7FC7 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.135 H 249.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7FC7 |
|---|---|
| RGB | rgb(45, 127, 199) |
| HSL | hsl(208, 63%, 48%) |
| HSV | hsv(208, 77%, 78%) |
| CMYK | cmyk(77.4%, 36.2%, 0%, 22%) |
| CIE-LAB | lab(51.68, 0.52, -44.37) |
| CIE-LCH | lch(51.68, 44.37, 270.68°) |
| OKLab | oklab(58.25% -0.0484 -0.1264) |
| OKLCH | oklch(58.25% 0.135 249) |
| XYZ | xyz(18.9764, 19.8579, 56.8546) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.81
Cool Blue
#4984B8
ΔE00 2.96
Cerulean (survey)
#0485D1
ΔE00 3.02
Windows Blue
#3778BF
ΔE00 3.08
Bluish
#2976BB
ΔE00 3.50
Water Blue
#0E87CC
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7FC7 #C7752D
analogous
#2DC7C2 #2D7FC7 #2D32C7
triadic
#2D7FC7 #C72D7F #7FC72D
tetradic
#2D7FC7 #C22DC7 #C7752D #32C72D
square
#2D7FC7 #C22DC7 #C7752D #32C72D
split-complementary
#2D7FC7 #C72D32 #C7C22D
monochromatic
#163F63 #225F95 #2D7FC7 #589DD9 #8ABAE5
Accessibility & contrast
On white
4.22
#2D7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#2D7FC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D7FC7
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7FC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D7FC7 | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#4675C6
Tritanopia (blue-blind)
#009099
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2d7fc7; /* rgb */ color: rgb(45, 127, 199); /* oklch */ color: oklch(58.3% 0.135 249.0);
Tailwind
colors: {
custom: {
50: '#7ca3d8',
500: '#2d7fc7',
950: '#000000',
},
}SCSS
$custom: #2d7fc7; $custom-light: #7ca3d8; $custom-dark: #000000;
JSON
{
"hex": "#2d7fc7",
"rgb": {
"r": 45,
"g": 127,
"b": 199
},
"hsl": {
"h": 208.052,
"s": 63.115,
"l": 47.843
},
"oklch": {
"l": 0.5825,
"c": 0.13532,
"h": 249
},
"luminance": 0.1986
}Semantic roles & 50–950 ramp
primary
#2D7FC7
secondary
#CEA581
accent
#8F42E6
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F14
muted
#7C7F83