#2D7EA1#2D7EA1

#2D7EA1 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.094 H 230.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D7EA1
RGBrgb(45, 126, 161)
HSLhsl(198, 56%, 40%)
HSVhsv(198, 72%, 63%)
CMYKcmyk(72%, 21.7%, 0%, 36.9%)
CIE-LABlab(49.56, -12.54, -25.78)
CIE-LCHlch(49.56, 28.67, 244.07°)
OKLaboklab(55.98% -0.0596 -0.0724)
OKLCHoklch(55.98% 0.094 230.5)
XYZxyz(14.9735, 18.0511, 36.4064)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EA1 #A1502D
analogous
#2DA18A #2D7EA1 #2D44A1
triadic
#2D7EA1 #A12D7E #7EA12D
tetradic
#2D7EA1 #8A2DA1 #A1502D #44A12D
square
#2D7EA1 #8A2DA1 #A1502D #44A12D
split-complementary
#2D7EA1 #A12D44 #A18A2D
monochromatic
#123341 #205971 #2D7EA1 #41A1CA #71B8D7

Accessibility & contrast

On white

4.55
#2D7EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2D7EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EA1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EA1#FFFFFF#000000##000000
##2D7EA11.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA3
Deuteranopia (green-blind)
#5C71A0
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7ea1;
/* rgb */ color: rgb(45, 126, 161);
/* oklch */ color: oklch(56.0% 0.094 230.5);
Tailwind
colors: {
  custom: {
    50: '#75a3bd',
    500: '#2d7ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2d7ea1;
$custom-light: #75a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7ea1",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 198.103,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.09373,
    "h": 230.5
  },
  "luminance": 0.18053
}

Semantic roles & 50–950 ramp

primary
#2D7EA1
secondary
#BF846B
accent
#7648E0
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2D7EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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