#2D7EAA#2D7EAA

#2D7EAA is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.103 H 236.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2D7EAA
RGBrgb(45, 126, 170)
HSLhsl(201, 58%, 42%)
HSVhsv(201, 74%, 67%)
CMYKcmyk(73.5%, 25.9%, 0%, 33.3%)
CIE-LABlab(49.95, -9.39, -30.40)
CIE-LCHlch(49.95, 31.82, 252.84°)
OKLaboklab(56.42% -0.0563 -0.0857)
OKLCHoklch(56.42% 0.103 236.7)
XYZxyz(15.7959, 18.3801, 40.7376)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EAA #AA592D
analogous
#2DAA98 #2D7EAA #2D3FAA
triadic
#2D7EAA #AA2D7E #7EAA2D
tetradic
#2D7EAA #982DAA #AA592D #3FAA2D
square
#2D7EAA #982DAA #AA592D #3FAA2D
split-complementary
#2D7EAA #AA2D3F #AA982D
monochromatic
#133649 #205A7A #2D7EAA #469ECE #77B8DB

Accessibility & contrast

On white

4.49
#2D7EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2D7EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EAA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EAA#FFFFFF#000000##000000
##2D7EAA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAC
Deuteranopia (green-blind)
#5872A9
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d7eaa;
/* rgb */ color: rgb(45, 126, 170);
/* oklch */ color: oklch(56.4% 0.103 236.7);
Tailwind
colors: {
  custom: {
    50: '#77a3c3',
    500: '#2d7eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2d7eaa;
$custom-light: #77a3c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7eaa",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 201.12,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.10254,
    "h": 236.7
  },
  "luminance": 0.18382
}

Semantic roles & 50–950 ramp

primary
#2D7EAA
secondary
#C38D70
accent
#7D46E1
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2D7EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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