#2D7AB7#2D7AB7

#2D7AB7 is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.120 H 246.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2D7AB7
RGBrgb(45, 122, 183)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 75%, 72%)
CMYKcmyk(75.4%, 33.3%, 0%, 28.2%)
CIE-LABlab(49.37, -2.35, -38.84)
CIE-LCHlch(49.37, 38.92, 266.54°)
OKLaboklab(56.16% -0.0483 -0.1103)
OKLCHoklch(56.16% 0.12 246.4)
XYZxyz(16.5857, 17.8939, 47.3703)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7AB7 #B76A2D
analogous
#2DB7AF #2D7AB7 #2D35B7
triadic
#2D7AB7 #B72D7A #7AB72D
tetradic
#2D7AB7 #AF2DB7 #B76A2D #35B72D
square
#2D7AB7 #AF2DB7 #B76A2D #35B72D
split-complementary
#2D7AB7 #B72D35 #B7AF2D
monochromatic
#153955 #215986 #2D7AB7 #4E98D3 #7FB5DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7AB7#FFFFFF#000000##FFFFFF
##2D7AB71.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)
#5E7CBA
Deuteranopia (green-blind)
#4A70B6
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d7ab7;
/* rgb */ color: rgb(45, 122, 183);
/* oklch */ color: oklch(56.2% 0.120 246.4);
Tailwind
colors: {
  custom: {
    50: '#79a0cd',
    500: '#2d7ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2d7ab7;
$custom-light: #79a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7ab7",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 183
  },
  "hsl": {
    "h": 206.522,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.12038,
    "h": 246.4
  },
  "luminance": 0.17896
}

Semantic roles & 50–950 ramp

primary
#2D7AB7
secondary
#C89B78
accent
#8B44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D7AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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