#2D7AAB#2D7AAB

#2D7AAB is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.5% C 0.106 H 240.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2D7AAB
RGBrgb(45, 122, 171)
HSLhsl(203, 58%, 42%)
HSVhsv(203, 74%, 67%)
CMYKcmyk(73.7%, 28.7%, 0%, 32.9%)
CIE-LABlab(48.78, -6.70, -32.82)
CIE-LCHlch(48.78, 33.49, 258.46°)
OKLaboklab(55.51% -0.052 -0.0927)
OKLCHoklch(55.51% 0.106 240.7)
XYZxyz(15.3895, 17.4155, 41.0706)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7AAB #AB5E2D
analogous
#2DAB9D #2D7AAB #2D3BAB
triadic
#2D7AAB #AB2D7A #7AAB2D
tetradic
#2D7AAB #9D2DAB #AB5E2D #3BAB2D
square
#2D7AAB #9D2DAB #AB5E2D #3BAB2D
split-complementary
#2D7AAB #AB2D3B #AB9D2D
monochromatic
#14354A #20577B #2D7AAB #479ACE #77B4DB

Accessibility & contrast

On white

4.68
#2D7AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2D7AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7AAB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7AAB#FFFFFF#000000##FFFFFF
##2D7AAB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637BAD
Deuteranopia (green-blind)
#526FAA
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d7aab;
/* rgb */ color: rgb(45, 122, 171);
/* oklch */ color: oklch(55.5% 0.106 240.7);
Tailwind
colors: {
  custom: {
    50: '#77a0c4',
    500: '#2d7aab',
    950: '#000000',
  },
}
SCSS
$custom: #2d7aab;
$custom-light: #77a0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7aab",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 171
  },
  "hsl": {
    "h": 203.333,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.10631,
    "h": 240.7
  },
  "luminance": 0.17417
}

Semantic roles & 50–950 ramp

primary
#2D7AAB
secondary
#C39171
accent
#8346E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2D7AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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