#2D7AB8#2D7AB8

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

Color values

HEX#2D7AB8
RGBrgb(45, 122, 184)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 76%, 72%)
CMYKcmyk(75.5%, 33.7%, 0%, 27.8%)
CIE-LABlab(49.42, -1.98, -39.34)
CIE-LCHlch(49.42, 39.39, 267.11°)
OKLaboklab(56.22% -0.048 -0.1117)
OKLCHoklch(56.22% 0.122 246.8)
XYZxyz(16.6901, 17.9357, 47.9204)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7AB8 #B86B2D
analogous
#2DB8B1 #2D7AB8 #2D34B8
triadic
#2D7AB8 #B82D7A #7AB82D
tetradic
#2D7AB8 #B12DB8 #B86B2D #34B82D
square
#2D7AB8 #B12DB8 #B86B2D #34B82D
split-complementary
#2D7AB8 #B82D34 #B8B12D
monochromatic
#153956 #215987 #2D7AB8 #4E98D4 #80B5E0

Accessibility & contrast

On white

4.58
#2D7AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2D7AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7AB8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7AB8#FFFFFF#000000##000000
##2D7AB81.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBB
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d7ab8;
/* rgb */ color: rgb(45, 122, 184);
/* oklch */ color: oklch(56.2% 0.122 246.8);
Tailwind
colors: {
  custom: {
    50: '#79a0cd',
    500: '#2d7ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2d7ab8;
$custom-light: #79a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7ab8",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 184
  },
  "hsl": {
    "h": 206.763,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.1216,
    "h": 246.8
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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