#2D7EAB#2D7EAB

#2D7EAB is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.5% C 0.104 H 237.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2D7EAB
RGBrgb(45, 126, 171)
HSLhsl(201, 58%, 42%)
HSVhsv(201, 74%, 67%)
CMYKcmyk(73.7%, 26.3%, 0%, 32.9%)
CIE-LABlab(50.00, -9.03, -30.91)
CIE-LCHlch(50.00, 32.20, 253.71°)
OKLaboklab(56.47% -0.056 -0.0872)
OKLCHoklch(56.47% 0.104 237.3)
XYZxyz(15.8908, 18.4180, 41.2377)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EAB #AB5A2D
analogous
#2DAB99 #2D7EAB #2D3FAB
triadic
#2D7EAB #AB2D7E #7EAB2D
tetradic
#2D7EAB #992DAB #AB5A2D #3FAB2D
square
#2D7EAB #992DAB #AB5A2D #3FAB2D
split-complementary
#2D7EAB #AB2D3F #AB992D
monochromatic
#14374A #205A7B #2D7EAB #479ECE #77B7DB

Accessibility & contrast

On white

4.48
#2D7EAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2D7EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EAB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EAB#FFFFFF#000000##000000
##2D7EAB1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAD
Deuteranopia (green-blind)
#5772AA
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d7eab;
/* rgb */ color: rgb(45, 126, 171);
/* oklch */ color: oklch(56.5% 0.104 237.3);
Tailwind
colors: {
  custom: {
    50: '#77a3c4',
    500: '#2d7eab',
    950: '#000000',
  },
}
SCSS
$custom: #2d7eab;
$custom-light: #77a3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7eab",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 171
  },
  "hsl": {
    "h": 201.429,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.10359,
    "h": 237.3
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#2D7EAB
secondary
#C38E71
accent
#7E46E2
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2D7EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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