#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
RGBrgb(45, 127, 199)
HSLhsl(208, 63%, 48%)
HSVhsv(208, 77%, 78%)
CMYKcmyk(77.4%, 36.2%, 0%, 22%)
CIE-LABlab(51.68, 0.52, -44.37)
CIE-LCHlch(51.68, 44.37, 270.68°)
OKLaboklab(58.25% -0.0484 -0.1264)
OKLCHoklch(58.25% 0.135 249)
XYZxyz(18.9764, 19.8579, 56.8546)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##2D7FC71.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.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

Preview Lab

Preview with #2D7FC7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2D7FC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva