#2D7DAC#2D7DAC

#2D7DAC is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.3% C 0.105 H 238.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2D7DAC
RGBrgb(45, 125, 172)
HSLhsl(202, 59%, 43%)
HSVhsv(202, 74%, 67%)
CMYKcmyk(73.8%, 27.3%, 0%, 32.5%)
CIE-LABlab(49.74, -8.10, -31.89)
CIE-LCHlch(49.74, 32.91, 255.76°)
OKLaboklab(56.28% -0.0546 -0.09)
OKLCHoklch(56.28% 0.105 238.7)
XYZxyz(15.8593, 18.2019, 41.6992)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7DAC #AC5C2D
analogous
#2DAC9C #2D7DAC #2D3DAC
triadic
#2D7DAC #AC2D7D #7DAC2D
tetradic
#2D7DAC #9C2DAC #AC5C2D #3DAC2D
square
#2D7DAC #9C2DAC #AC5C2D #3DAC2D
split-complementary
#2D7DAC #AC2D3D #AC9C2D
monochromatic
#14364B #205A7B #2D7DAC #479DCF #78B7DC

Accessibility & contrast

On white

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

On black

4.64
#2D7DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7DAC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7DAC#FFFFFF#000000##000000
##2D7DAC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d7dac;
/* rgb */ color: rgb(45, 125, 172);
/* oklch */ color: oklch(56.3% 0.105 238.7);
Tailwind
colors: {
  custom: {
    50: '#77a2c5',
    500: '#2d7dac',
    950: '#000000',
  },
}
SCSS
$custom: #2d7dac;
$custom-light: #77a2c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7dac",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 172
  },
  "hsl": {
    "h": 202.205,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56283,
    "c": 0.1053,
    "h": 238.7
  },
  "luminance": 0.18204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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