#2D7DB7#2D7DB7

#2D7DB7 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.9% C 0.118 H 244.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2D7DB7
RGBrgb(45, 125, 183)
HSLhsl(205, 61%, 45%)
HSVhsv(205, 75%, 72%)
CMYKcmyk(75.4%, 31.7%, 0%, 28.2%)
CIE-LABlab(50.27, -4.14, -37.43)
CIE-LCHlch(50.27, 37.66, 263.69°)
OKLaboklab(56.87% -0.0511 -0.1061)
OKLCHoklch(56.87% 0.118 244.3)
XYZxyz(16.9597, 18.6420, 47.4950)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7DB7 #B7672D
analogous
#2DB7AC #2D7DB7 #2D38B7
triadic
#2D7DB7 #B72D7D #7DB72D
tetradic
#2D7DB7 #AC2DB7 #B7672D #38B72D
square
#2D7DB7 #AC2DB7 #B7672D #38B72D
split-complementary
#2D7DB7 #B72D38 #B7AC2D
monochromatic
#153A55 #215B86 #2D7DB7 #4E9BD3 #7FB7DF

Accessibility & contrast

On white

4.44
#2D7DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2D7DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7DB7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7DB7#FFFFFF#000000##000000
##2D7DB71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBA
Deuteranopia (green-blind)
#4F72B6
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7db7;
/* rgb */ color: rgb(45, 125, 183);
/* oklch */ color: oklch(56.9% 0.118 244.3);
Tailwind
colors: {
  custom: {
    50: '#79a2cd',
    500: '#2d7db7',
    950: '#000000',
  },
}
SCSS
$custom: #2d7db7;
$custom-light: #79a2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7db7",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 183
  },
  "hsl": {
    "h": 205.217,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56872,
    "c": 0.11777,
    "h": 244.3
  },
  "luminance": 0.18644
}

Semantic roles & 50–950 ramp

primary
#2D7DB7
secondary
#C89978
accent
#8744E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2D7DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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