#2D7DCC#2D7DCC

#2D7DCC is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.1% C 0.144 H 251.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2D7DCC
RGBrgb(45, 125, 204)
HSLhsl(210, 64%, 49%)
HSVhsv(210, 78%, 80%)
CMYKcmyk(77.9%, 38.7%, 0%, 20%)
CIE-LABlab(51.36, 3.59, -47.72)
CIE-LCHlch(51.36, 47.85, 274.30°)
OKLaboklab(58.09% -0.0454 -0.1362)
OKLCHoklch(58.09% 0.144 251.6)
XYZxyz(19.3108, 19.5825, 59.8771)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7DCC #CC7C2D
analogous
#2DCCCC #2D7DCC #2D2ECC
triadic
#2D7DCC #CC2D7D #7DCC2D
tetradic
#2D7DCC #CC2DCC #CC7C2D #2ECC2D
square
#2D7DCC #CC2DCC #CC7C2D #2ECC2D
split-complementary
#2D7DCC #CC2D2E #CCCC2D
monochromatic
#174068 #225E9A #2D7DCC #5B9CDB #8DBAE6

Accessibility & contrast

On white

4.27
#2D7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2D7DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7DCC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7DCC#FFFFFF#000000##000000
##2D7DCC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d7dcc;
/* rgb */ color: rgb(45, 125, 204);
/* oklch */ color: oklch(58.1% 0.144 251.6);
Tailwind
colors: {
  custom: {
    50: '#7da2dc',
    500: '#2d7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #2d7dcc;
$custom-light: #7da2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7dcc",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 209.811,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.14356,
    "h": 251.6
  },
  "luminance": 0.19585
}

Semantic roles & 50–950 ramp

primary
#2D7DCC
secondary
#D0AA85
accent
#9341E7
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2D7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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