#2D7FC6#2D7FC6

#2D7FC6 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.2% C 0.134 H 248.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2D7FC6
RGBrgb(45, 127, 198)
HSLhsl(208, 63%, 48%)
HSVhsv(208, 77%, 78%)
CMYKcmyk(77.3%, 35.9%, 0%, 22.4%)
CIE-LABlab(51.62, 0.16, -43.88)
CIE-LCHlch(51.62, 43.88, 270.20°)
OKLaboklab(58.19% -0.0487 -0.1249)
OKLCHoklch(58.19% 0.134 248.7)
XYZxyz(18.8607, 19.8116, 56.2451)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FC6 #C6742D
analogous
#2DC6C0 #2D7FC6 #2D33C6
triadic
#2D7FC6 #C62D7F #7FC62D
tetradic
#2D7FC6 #C02DC6 #C6742D #33C62D
square
#2D7FC6 #C02DC6 #C6742D #33C62D
split-complementary
#2D7FC6 #C62D33 #C6C02D
monochromatic
#163F62 #225F94 #2D7FC6 #579DD9 #89BAE4

Accessibility & contrast

On white

4.23
#2D7FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2D7FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FC6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FC6#FFFFFF#000000##000000
##2D7FC61.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83C9
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#009099
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d7fc6;
/* rgb */ color: rgb(45, 127, 198);
/* oklch */ color: oklch(58.2% 0.134 248.7);
Tailwind
colors: {
  custom: {
    50: '#7ca3d7',
    500: '#2d7fc6',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fc6;
$custom-light: #7ca3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fc6",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 198
  },
  "hsl": {
    "h": 207.843,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58191,
    "c": 0.13408,
    "h": 248.7
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#2D7FC6
secondary
#CEA581
accent
#8E42E6
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #2D7FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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