#2D7EB6#2D7EB6

#2D7EB6 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.116 H 243.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D7EB6
RGBrgb(45, 126, 182)
HSLhsl(205, 60%, 45%)
HSVhsv(205, 75%, 71%)
CMYKcmyk(75.3%, 30.8%, 0%, 28.6%)
CIE-LABlab(50.52, -5.09, -36.46)
CIE-LCHlch(50.52, 36.81, 262.05°)
OKLaboklab(57.06% -0.0524 -0.1033)
OKLCHoklch(57.06% 0.116 243.1)
XYZxyz(16.9833, 18.8550, 46.9912)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EB6 #B6652D
analogous
#2DB6AA #2D7EB6 #2D39B6
triadic
#2D7EB6 #B62D7E #7EB62D
tetradic
#2D7EB6 #AA2DB6 #B6652D #39B62D
square
#2D7EB6 #AA2DB6 #B6652D #39B62D
split-complementary
#2D7EB6 #B62D39 #B6AA2D
monochromatic
#153A54 #215C85 #2D7EB6 #4D9CD3 #7EB8DF

Accessibility & contrast

On white

4.40
#2D7EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2D7EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EB6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EB6#FFFFFF#000000##000000
##2D7EB61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#647FB8
Deuteranopia (green-blind)
#5172B5
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7eb6;
/* rgb */ color: rgb(45, 126, 182);
/* oklch */ color: oklch(57.1% 0.116 243.1);
Tailwind
colors: {
  custom: {
    50: '#79a3cc',
    500: '#2d7eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2d7eb6;
$custom-light: #79a3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7eb6",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 182
  },
  "hsl": {
    "h": 204.526,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57055,
    "c": 0.11579,
    "h": 243.1
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#2D7EB6
secondary
#C89877
accent
#8544E3
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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