#2D7CAB#2D7CAB

#2D7CAB is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.0% C 0.105 H 239.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#2D7CAB
RGBrgb(45, 124, 171)
HSLhsl(202, 58%, 42%)
HSVhsv(202, 74%, 67%)
CMYKcmyk(73.7%, 27.5%, 0%, 32.9%)
CIE-LABlab(49.39, -7.87, -31.86)
CIE-LCHlch(49.39, 32.82, 256.12°)
OKLaboklab(55.99% -0.054 -0.0899)
OKLCHoklch(55.99% 0.105 239)
XYZxyz(15.6376, 17.9117, 41.1533)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7CAB #AB5C2D
analogous
#2DAB9B #2D7CAB #2D3DAB
triadic
#2D7CAB #AB2D7C #7CAB2D
tetradic
#2D7CAB #9B2DAB #AB5C2D #3DAB2D
square
#2D7CAB #9B2DAB #AB5C2D #3DAB2D
split-complementary
#2D7CAB #AB2D3D #AB9B2D
monochromatic
#14364A #20597B #2D7CAB #479CCE #77B6DB

Accessibility & contrast

On white

4.58
#2D7CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2D7CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7CAB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7CAB#FFFFFF#000000##000000
##2D7CAB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAD
Deuteranopia (green-blind)
#5570AA
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d7cab;
/* rgb */ color: rgb(45, 124, 171);
/* oklch */ color: oklch(56.0% 0.105 239.0);
Tailwind
colors: {
  custom: {
    50: '#77a1c4',
    500: '#2d7cab',
    950: '#000000',
  },
}
SCSS
$custom: #2d7cab;
$custom-light: #77a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7cab",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 171
  },
  "hsl": {
    "h": 202.381,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55989,
    "c": 0.1049,
    "h": 239
  },
  "luminance": 0.17913
}

Semantic roles & 50–950 ramp

primary
#2D7CAB
secondary
#C38F71
accent
#8046E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2D7CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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