#2D7AB9#2D7AB9

#2D7AB9 is a mid, vivid cyan. Relative luminance 0.180; OKLCH L 56.3% C 0.123 H 247.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2D7AB9
RGBrgb(45, 122, 185)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 76%, 73%)
CMYKcmyk(75.7%, 34.1%, 0%, 27.5%)
CIE-LABlab(49.47, -1.62, -39.84)
CIE-LCHlch(49.47, 39.87, 267.68°)
OKLaboklab(56.28% -0.0477 -0.1132)
OKLCHoklch(56.28% 0.123 247.1)
XYZxyz(16.7953, 17.9778, 48.4744)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7AB9 #B96C2D
analogous
#2DB9B2 #2D7AB9 #2D34B9
triadic
#2D7AB9 #B92D7A #7AB92D
tetradic
#2D7AB9 #B22DB9 #B96C2D #34B92D
square
#2D7AB9 #B22DB9 #B96C2D #34B92D
split-complementary
#2D7AB9 #B92D34 #B9B22D
monochromatic
#153957 #215A88 #2D7AB9 #4F98D4 #80B5E0

Accessibility & contrast

On white

4.57
#2D7AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2D7AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7AB9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7AB9#FFFFFF#000000##000000
##2D7AB91.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBC
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7ab9;
/* rgb */ color: rgb(45, 122, 185);
/* oklch */ color: oklch(56.3% 0.123 247.1);
Tailwind
colors: {
  custom: {
    50: '#79a0ce',
    500: '#2d7ab9',
    950: '#000000',
  },
}
SCSS
$custom: #2d7ab9;
$custom-light: #79a0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7ab9",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 185
  },
  "hsl": {
    "h": 207,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.12282,
    "h": 247.1
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#2D7AB9
secondary
#C99D79
accent
#8C44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D7AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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