#2D7EA7#2D7EA7

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

Color values

HEX#2D7EA7
RGBrgb(45, 126, 167)
HSLhsl(200, 58%, 42%)
HSVhsv(200, 73%, 65%)
CMYKcmyk(73.1%, 24.6%, 0%, 34.5%)
CIE-LABlab(49.82, -10.44, -28.87)
CIE-LCHlch(49.82, 30.70, 250.11°)
OKLaboklab(56.27% -0.0574 -0.0813)
OKLCHoklch(56.27% 0.099 234.8)
XYZxyz(15.5153, 18.2678, 39.2601)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EA7 #A7562D
analogous
#2DA793 #2D7EA7 #2D41A7
triadic
#2D7EA7 #A72D7E #7EA72D
tetradic
#2D7EA7 #932DA7 #A7562D #41A72D
square
#2D7EA7 #932DA7 #A7562D #41A72D
split-complementary
#2D7EA7 #A72D41 #A7932D
monochromatic
#133547 #205A77 #2D7EA7 #449FCD #75B8DA

Accessibility & contrast

On white

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

On black

4.65
#2D7EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EA7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EA7#FFFFFF#000000##000000
##2D7EA71.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA9
Deuteranopia (green-blind)
#5A71A6
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7ea7;
/* rgb */ color: rgb(45, 126, 167);
/* oklch */ color: oklch(56.3% 0.099 234.8);
Tailwind
colors: {
  custom: {
    50: '#76a3c1',
    500: '#2d7ea7',
    950: '#000000',
  },
}
SCSS
$custom: #2d7ea7;
$custom-light: #76a3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7ea7",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 200.164,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56272,
    "c": 0.09948,
    "h": 234.8
  },
  "luminance": 0.1827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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