#2D8FAC#2D8FAC

#2D8FAC is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.7% C 0.098 H 221.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2D8FAC
RGBrgb(45, 143, 172)
HSLhsl(194, 59%, 43%)
HSVhsv(194, 74%, 67%)
CMYKcmyk(73.8%, 16.9%, 0%, 32.5%)
CIE-LABlab(55.26, -18.17, -23.34)
CIE-LCHlch(55.26, 29.58, 232.10°)
OKLaboklab(60.69% -0.0727 -0.0653)
OKLCHoklch(60.69% 0.098 221.9)
XYZxyz(18.3480, 23.1792, 42.5288)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8FAC #AC4A2D
analogous
#2DAC8A #2D8FAC #2D4FAC
triadic
#2D8FAC #AC2D8F #8FAC2D
tetradic
#2D8FAC #8A2DAC #AC4A2D #4FAC2D
square
#2D8FAC #8A2DAC #AC4A2D #4FAC2D
split-complementary
#2D8FAC #AC2D4F #AC8A2D
monochromatic
#143E4B #20677B #2D8FAC #47B0CF #78C5DC

Accessibility & contrast

On white

3.73
#2D8FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2D8FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8FAC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8FAC#FFFFFF#000000##000000
##2D8FAC1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8BAE
Deuteranopia (green-blind)
#6D7FAC
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2d8fac;
/* rgb */ color: rgb(45, 143, 172);
/* oklch */ color: oklch(60.7% 0.098 221.9);
Tailwind
colors: {
  custom: {
    50: '#78b0c4',
    500: '#2d8fac',
    950: '#000000',
  },
}
SCSS
$custom: #2d8fac;
$custom-light: #78b0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8fac",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 193.701,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60686,
    "c": 0.09772,
    "h": 221.9
  },
  "luminance": 0.23181
}

Semantic roles & 50–950 ramp

primary
#2D8FAC
secondary
#C48471
accent
#6A46E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2D8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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