#2D7CAA#2D7CAA

#2D7CAA is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.9% C 0.104 H 238.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2D7CAA
RGBrgb(45, 124, 170)
HSLhsl(202, 58%, 42%)
HSVhsv(202, 74%, 67%)
CMYKcmyk(73.5%, 27.1%, 0%, 33.3%)
CIE-LABlab(49.34, -8.23, -31.36)
CIE-LCHlch(49.34, 32.42, 255.30°)
OKLaboklab(55.94% -0.0543 -0.0885)
OKLCHoklch(55.94% 0.104 238.5)
XYZxyz(15.5427, 17.8737, 40.6532)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7CAA #AA5B2D
analogous
#2DAA9A #2D7CAA #2D3DAA
triadic
#2D7CAA #AA2D7C #7CAA2D
tetradic
#2D7CAA #9A2DAA #AA5B2D #3DAA2D
square
#2D7CAA #9A2DAA #AA5B2D #3DAA2D
split-complementary
#2D7CAA #AA2D3D #AA9A2D
monochromatic
#133549 #20597A #2D7CAA #469CCE #77B6DB

Accessibility & contrast

On white

4.59
#2D7CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2D7CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7CAA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7CAA#FFFFFF#000000##FFFFFF
##2D7CAA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667CAC
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d7caa;
/* rgb */ color: rgb(45, 124, 170);
/* oklch */ color: oklch(55.9% 0.104 238.5);
Tailwind
colors: {
  custom: {
    50: '#77a1c3',
    500: '#2d7caa',
    950: '#000000',
  },
}
SCSS
$custom: #2d7caa;
$custom-light: #77a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7caa",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 170
  },
  "hsl": {
    "h": 202.08,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.10382,
    "h": 238.5
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#2D7CAA
secondary
#C38E70
accent
#7F46E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2D7CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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