#2D7EA8#2D7EA8

#2D7EA8 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.3% C 0.100 H 235.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2D7EA8
RGBrgb(45, 126, 168)
HSLhsl(200, 58%, 42%)
HSVhsv(200, 73%, 66%)
CMYKcmyk(73.2%, 25%, 0%, 34.1%)
CIE-LABlab(49.86, -10.09, -29.38)
CIE-LCHlch(49.86, 31.07, 251.04°)
OKLaboklab(56.32% -0.057 -0.0827)
OKLCHoklch(56.32% 0.1 235.4)
XYZxyz(15.6081, 18.3050, 39.7488)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EA8 #A8572D
analogous
#2DA895 #2D7EA8 #2D41A8
triadic
#2D7EA8 #A82D7E #7EA82D
tetradic
#2D7EA8 #952DA8 #A8572D #41A82D
square
#2D7EA8 #952DA8 #A8572D #41A82D
split-complementary
#2D7EA8 #A82D41 #A8952D
monochromatic
#133647 #205A78 #2D7EA8 #459FCD #75B8DA

Accessibility & contrast

On white

4.51
#2D7EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2D7EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EA8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EA8#FFFFFF#000000##000000
##2D7EA81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DAA
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d7ea8;
/* rgb */ color: rgb(45, 126, 168);
/* oklch */ color: oklch(56.3% 0.100 235.4);
Tailwind
colors: {
  custom: {
    50: '#77a3c2',
    500: '#2d7ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2d7ea8;
$custom-light: #77a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7ea8",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 200.488,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.10048,
    "h": 235.4
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#2D7EA8
secondary
#C28B6F
accent
#7B47E1
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2D7EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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