#2D7DAB#2D7DAB

#2D7DAB is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.104 H 238.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2D7DAB
RGBrgb(45, 125, 171)
HSLhsl(202, 58%, 42%)
HSVhsv(202, 74%, 67%)
CMYKcmyk(73.7%, 26.9%, 0%, 32.9%)
CIE-LABlab(49.69, -8.45, -31.39)
CIE-LCHlch(49.69, 32.51, 254.93°)
OKLaboklab(56.23% -0.055 -0.0885)
OKLCHoklch(56.23% 0.104 238.2)
XYZxyz(15.7636, 18.1636, 41.1953)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7DAB #AB5B2D
analogous
#2DAB9A #2D7DAB #2D3EAB
triadic
#2D7DAB #AB2D7D #7DAB2D
tetradic
#2D7DAB #9A2DAB #AB5B2D #3EAB2D
square
#2D7DAB #9A2DAB #AB5B2D #3EAB2D
split-complementary
#2D7DAB #AB2D3E #AB9A2D
monochromatic
#14364A #205A7B #2D7DAB #479DCE #77B7DB

Accessibility & contrast

On white

4.53
#2D7DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2D7DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7DAB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7DAB#FFFFFF#000000##000000
##2D7DAB1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAD
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7dab;
/* rgb */ color: rgb(45, 125, 171);
/* oklch */ color: oklch(56.2% 0.104 238.2);
Tailwind
colors: {
  custom: {
    50: '#77a2c4',
    500: '#2d7dab',
    950: '#000000',
  },
}
SCSS
$custom: #2d7dab;
$custom-light: #77a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7dab",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 201.905,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.10423,
    "h": 238.2
  },
  "luminance": 0.18165
}

Semantic roles & 50–950 ramp

primary
#2D7DAB
secondary
#C38F71
accent
#7F46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2D7DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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