#2D8EA8#2D8EA8

#2D8EA8 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.3% C 0.095 H 219.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2D8EA8
RGBrgb(45, 142, 168)
HSLhsl(193, 58%, 42%)
HSVhsv(193, 73%, 66%)
CMYKcmyk(73.2%, 15.5%, 0%, 34.1%)
CIE-LABlab(54.79, -18.97, -21.76)
CIE-LCHlch(54.79, 28.87, 228.93°)
OKLaboklab(60.26% -0.0733 -0.0608)
OKLCHoklch(60.26% 0.095 219.7)
XYZxyz(17.8201, 22.7290, 40.4861)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8EA8 #A8472D
analogous
#2DA885 #2D8EA8 #2D51A8
triadic
#2D8EA8 #A82D8E #8EA82D
tetradic
#2D8EA8 #852DA8 #A8472D #51A82D
square
#2D8EA8 #852DA8 #A8472D #51A82D
split-complementary
#2D8EA8 #A82D51 #A8852D
monochromatic
#133C47 #206578 #2D8EA8 #45B0CD #75C5DA

Accessibility & contrast

On white

3.79
#2D8EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2D8EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8EA8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8EA8#FFFFFF#000000##000000
##2D8EA81.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8AA9
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#009796
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2d8ea8;
/* rgb */ color: rgb(45, 142, 168);
/* oklch */ color: oklch(60.3% 0.095 219.7);
Tailwind
colors: {
  custom: {
    50: '#78afc2',
    500: '#2d8ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2d8ea8;
$custom-light: #78afc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8ea8",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 192.683,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60262,
    "c": 0.09522,
    "h": 219.7
  },
  "luminance": 0.22731
}

Semantic roles & 50–950 ramp

primary
#2D8EA8
secondary
#C2806F
accent
#6747E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2D8EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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