#2D7FAD#2D7FAD

#2D7FAD is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.8% C 0.105 H 237.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2D7FAD
RGBrgb(45, 127, 173)
HSLhsl(202, 59%, 43%)
HSVhsv(202, 74%, 68%)
CMYKcmyk(74%, 26.6%, 0%, 32.2%)
CIE-LABlab(50.40, -8.90, -31.45)
CIE-LCHlch(50.40, 32.68, 254.20°)
OKLaboklab(56.82% -0.0563 -0.0887)
OKLCHoklch(56.82% 0.105 237.6)
XYZxyz(16.2114, 18.7519, 42.2921)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FAD #AD5B2D
analogous
#2DAD9B #2D7FAD #2D3FAD
triadic
#2D7FAD #AD2D7F #7FAD2D
tetradic
#2D7FAD #9B2DAD #AD5B2D #3FAD2D
square
#2D7FAD #9B2DAD #AD5B2D #3FAD2D
split-complementary
#2D7FAD #AD2D3F #AD9B2D
monochromatic
#14384C #205B7C #2D7FAD #489FCF #78B8DC

Accessibility & contrast

On white

4.42
#2D7FAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2D7FAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FAD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FAD#FFFFFF#000000##000000
##2D7FAD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697FAF
Deuteranopia (green-blind)
#5873AC
Tritanopia (blue-blind)
#008B8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7fad;
/* rgb */ color: rgb(45, 127, 173);
/* oklch */ color: oklch(56.8% 0.105 237.6);
Tailwind
colors: {
  custom: {
    50: '#77a4c5',
    500: '#2d7fad',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fad;
$custom-light: #77a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fad",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 173
  },
  "hsl": {
    "h": 201.563,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.56819,
    "c": 0.10506,
    "h": 237.6
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#2D7FAD
secondary
#C48F72
accent
#7E46E2
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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