#2A8DC2#2A8DC2

#2A8DC2 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.2% C 0.119 H 237.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2A8DC2
RGBrgb(42, 141, 194)
HSLhsl(201, 64%, 46%)
HSVhsv(201, 78%, 76%)
CMYKcmyk(78.4%, 27.3%, 0%, 23.9%)
CIE-LABlab(55.52, -9.81, -35.48)
CIE-LCHlch(55.52, 36.81, 254.54°)
OKLaboklab(61.18% -0.0641 -0.1003)
OKLCHoklch(61.18% 0.119 237.4)
XYZxyz(20.2134, 23.4346, 54.4865)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8DC2 #C25F2A
analogous
#2AC2AB #2A8DC2 #2A41C2
triadic
#2A8DC2 #C22A8D #8DC22A
tetradic
#2A8DC2 #AB2AC2 #C25F2A #41C22A
square
#2A8DC2 #AB2AC2 #C25F2A #41C22A
split-complementary
#2A8DC2 #C22A41 #C2AB2A
monochromatic
#14445D #1F6890 #2A8DC2 #50A9D9 #82C2E4

Accessibility & contrast

On white

3.69
#2A8DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#2A8DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8DC2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8DC2#FFFFFF#000000##000000
##2A8DC21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#748DC4
Deuteranopia (green-blind)
#5F7FC1
Tritanopia (blue-blind)
#009B9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a8dc2;
/* rgb */ color: rgb(42, 141, 194);
/* oklch */ color: oklch(61.2% 0.119 237.4);
Tailwind
colors: {
  custom: {
    50: '#7baed4',
    500: '#2a8dc2',
    950: '#000000',
  },
}
SCSS
$custom: #2a8dc2;
$custom-light: #7baed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8dc2",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 200.921,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.61184,
    "c": 0.11902,
    "h": 237.4
  },
  "luminance": 0.23437
}

Semantic roles & 50–950 ramp

primary
#2A8DC2
secondary
#CD977B
accent
#7B40E7
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2A8DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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