#2D7CAC#2D7CAC

#2D7CAC is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.0% C 0.106 H 239.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2D7CAC
RGBrgb(45, 124, 172)
HSLhsl(203, 59%, 43%)
HSVhsv(203, 74%, 67%)
CMYKcmyk(73.8%, 27.9%, 0%, 32.5%)
CIE-LABlab(49.44, -7.51, -32.37)
CIE-LCHlch(49.44, 33.23, 256.93°)
OKLaboklab(56.04% -0.0536 -0.0914)
OKLCHoklch(56.04% 0.106 239.6)
XYZxyz(15.7333, 17.9499, 41.6572)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7CAC #AC5D2D
analogous
#2DAC9C #2D7CAC #2D3DAC
triadic
#2D7CAC #AC2D7C #7CAC2D
tetradic
#2D7CAC #9C2DAC #AC5D2D #3DAC2D
square
#2D7CAC #9C2DAC #AC5D2D #3DAC2D
split-complementary
#2D7CAC #AC2D3D #AC9C2D
monochromatic
#14364B #20597B #2D7CAC #479CCF #78B6DC

Accessibility & contrast

On white

4.57
#2D7CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2D7CAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7CAC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7CAC#FFFFFF#000000##000000
##2D7CAC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAE
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d7cac;
/* rgb */ color: rgb(45, 124, 172);
/* oklch */ color: oklch(56.0% 0.106 239.6);
Tailwind
colors: {
  custom: {
    50: '#77a1c5',
    500: '#2d7cac',
    950: '#000000',
  },
}
SCSS
$custom: #2d7cac;
$custom-light: #77a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7cac",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 172
  },
  "hsl": {
    "h": 202.677,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.10599,
    "h": 239.6
  },
  "luminance": 0.17952
}

Semantic roles & 50–950 ramp

primary
#2D7CAC
secondary
#C49071
accent
#8146E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2D7CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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