#2D7DC7#2D7DC7

#2D7DC7 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.8% C 0.137 H 250.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2D7DC7
RGBrgb(45, 125, 199)
HSLhsl(209, 63%, 48%)
HSVhsv(209, 77%, 78%)
CMYKcmyk(77.4%, 37.2%, 0%, 22%)
CIE-LABlab(51.09, 1.73, -45.30)
CIE-LCHlch(51.09, 45.33, 272.19°)
OKLaboklab(57.79% -0.0466 -0.1291)
OKLCHoklch(57.79% 0.137 250.1)
XYZxyz(18.7207, 19.3464, 56.7693)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7DC7 #C7772D
analogous
#2DC7C4 #2D7DC7 #2D30C7
triadic
#2D7DC7 #C72D7D #7DC72D
tetradic
#2D7DC7 #C42DC7 #C7772D #30C72D
square
#2D7DC7 #C42DC7 #C7772D #30C72D
split-complementary
#2D7DC7 #C72D30 #C7C42D
monochromatic
#163E63 #225E95 #2D7DC7 #589BD9 #8AB9E5

Accessibility & contrast

On white

4.31
#2D7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2D7DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7DC7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7DC7#FFFFFF#000000##000000
##2D7DC71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4373C6
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d7dc7;
/* rgb */ color: rgb(45, 125, 199);
/* oklch */ color: oklch(57.8% 0.137 250.1);
Tailwind
colors: {
  custom: {
    50: '#7ca2d8',
    500: '#2d7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #2d7dc7;
$custom-light: #7ca2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7dc7",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 208.831,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5779,
    "c": 0.13727,
    "h": 250.1
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#2D7DC7
secondary
#CEA681
accent
#9142E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #2D7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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