#2D7DA1#2D7DA1

#2D7DA1 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.7% C 0.094 H 231.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D7DA1
RGBrgb(45, 125, 161)
HSLhsl(199, 56%, 40%)
HSVhsv(199, 72%, 63%)
CMYKcmyk(72%, 22.4%, 0%, 36.9%)
CIE-LABlab(49.25, -11.97, -26.26)
CIE-LCHlch(49.25, 28.86, 245.50°)
OKLaboklab(55.73% -0.0585 -0.0737)
OKLCHoklch(55.73% 0.094 231.6)
XYZxyz(14.8463, 17.7966, 36.3640)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7DA1 #A1512D
analogous
#2DA18B #2D7DA1 #2D43A1
triadic
#2D7DA1 #A12D7D #7DA12D
tetradic
#2D7DA1 #8B2DA1 #A1512D #43A12D
square
#2D7DA1 #8B2DA1 #A1512D #43A12D
split-complementary
#2D7DA1 #A12D43 #A18B2D
monochromatic
#123341 #205871 #2D7DA1 #41A0CA #71B8D7

Accessibility & contrast

On white

4.61
#2D7DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2D7DA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7DA1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7DA1#FFFFFF#000000##FFFFFF
##2D7DA11.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7BA3
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d7da1;
/* rgb */ color: rgb(45, 125, 161);
/* oklch */ color: oklch(55.7% 0.094 231.6);
Tailwind
colors: {
  custom: {
    50: '#75a2bd',
    500: '#2d7da1',
    950: '#000000',
  },
}
SCSS
$custom: #2d7da1;
$custom-light: #75a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7da1",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 161
  },
  "hsl": {
    "h": 198.621,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5573,
    "c": 0.09415,
    "h": 231.6
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#2D7DA1
secondary
#BF856B
accent
#7748E0
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2D7DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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