#2D7DC8#2D7DC8

#2D7DC8 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.9% C 0.139 H 250.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2D7DC8
RGBrgb(45, 125, 200)
HSLhsl(209, 63%, 48%)
HSVhsv(209, 78%, 78%)
CMYKcmyk(77.5%, 37.5%, 0%, 21.6%)
CIE-LABlab(51.14, 2.10, -45.78)
CIE-LCHlch(51.14, 45.83, 272.63°)
OKLaboklab(57.85% -0.0464 -0.1305)
OKLCHoklch(57.85% 0.139 250.4)
XYZxyz(18.8372, 19.3930, 57.3828)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7DC8 #C8782D
analogous
#2DC8C5 #2D7DC8 #2D30C8
triadic
#2D7DC8 #C82D7D #7DC82D
tetradic
#2D7DC8 #C52DC8 #C8782D #30C82D
square
#2D7DC8 #C52DC8 #C8782D #30C82D
split-complementary
#2D7DC8 #C82D30 #C8C52D
monochromatic
#173F64 #225E96 #2D7DC8 #599BDA #8BB9E5

Accessibility & contrast

On white

4.30
#2D7DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2D7DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7DC8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7DC8#FFFFFF#000000##000000
##2D7DC81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CB
Deuteranopia (green-blind)
#4273C7
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d7dc8;
/* rgb */ color: rgb(45, 125, 200);
/* oklch */ color: oklch(57.9% 0.139 250.4);
Tailwind
colors: {
  custom: {
    50: '#7ca2d9',
    500: '#2d7dc8',
    950: '#000000',
  },
}
SCSS
$custom: #2d7dc8;
$custom-light: #7ca2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7dc8",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 209.032,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.13853,
    "h": 250.4
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

primary
#2D7DC8
secondary
#CFA782
accent
#9141E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #2D7DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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