#2D7CC7#2D7CC7

#2D7CC7 is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.6% C 0.138 H 250.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2D7CC7
RGBrgb(45, 124, 199)
HSLhsl(209, 63%, 48%)
HSVhsv(209, 77%, 78%)
CMYKcmyk(77.4%, 37.7%, 0%, 22%)
CIE-LABlab(50.80, 2.34, -45.76)
CIE-LCHlch(50.80, 45.82, 272.93°)
OKLaboklab(57.56% -0.0457 -0.1305)
OKLCHoklch(57.56% 0.138 250.7)
XYZxyz(18.5947, 19.0945, 56.7274)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7CC7 #C7782D
analogous
#2DC7C5 #2D7CC7 #2D2FC7
triadic
#2D7CC7 #C72D7C #7CC72D
tetradic
#2D7CC7 #C52DC7 #C7782D #2FC72D
square
#2D7CC7 #C52DC7 #C7782D #2FC72D
split-complementary
#2D7CC7 #C72D2F #C7C52D
monochromatic
#163E63 #225D95 #2D7CC7 #589AD9 #8AB8E5

Accessibility & contrast

On white

4.36
#2D7CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2D7CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7CC7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7CC7#FFFFFF#000000##000000
##2D7CC71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CA
Deuteranopia (green-blind)
#4173C6
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d7cc7;
/* rgb */ color: rgb(45, 124, 199);
/* oklch */ color: oklch(57.6% 0.138 250.7);
Tailwind
colors: {
  custom: {
    50: '#7ca1d8',
    500: '#2d7cc7',
    950: '#000000',
  },
}
SCSS
$custom: #2d7cc7;
$custom-light: #7ca1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7cc7",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 209.221,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57561,
    "c": 0.13828,
    "h": 250.7
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#2D7CC7
secondary
#CEA781
accent
#9242E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2D7CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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