#2A8DB2#2A8DB2

#2A8DB2 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.4% C 0.104 H 227.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2A8DB2
RGBrgb(42, 141, 178)
HSLhsl(196, 62%, 43%)
HSVhsv(196, 76%, 70%)
CMYKcmyk(76.4%, 20.8%, 0%, 30.2%)
CIE-LABlab(54.82, -15.42, -27.45)
CIE-LCHlch(54.82, 31.49, 240.68°)
OKLaboklab(60.4% -0.0698 -0.0771)
OKLCHoklch(60.4% 0.104 227.8)
XYZxyz(18.5123, 22.7541, 45.5272)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8DB2 #B24F2A
analogous
#2AB293 #2A8DB2 #2A49B2
triadic
#2A8DB2 #B22A8D #8DB22A
tetradic
#2A8DB2 #932AB2 #B24F2A #49B22A
square
#2A8DB2 #932AB2 #B24F2A #49B22A
split-complementary
#2A8DB2 #B22A49 #B2932A
monochromatic
#133F4F #1E6680 #2A8DB2 #46ADD3 #77C3DF

Accessibility & contrast

On white

3.78
#2A8DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8DB2#FFFFFF#000000##000000
##2A8DB21.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#798BB4
Deuteranopia (green-blind)
#677DB2
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a8db2;
/* rgb */ color: rgb(42, 141, 178);
/* oklch */ color: oklch(60.4% 0.104 227.8);
Tailwind
colors: {
  custom: {
    50: '#78aec9',
    500: '#2a8db2',
    950: '#000000',
  },
}
SCSS
$custom: #2a8db2;
$custom-light: #78aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8db2",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 196.324,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.60396,
    "c": 0.10398,
    "h": 227.8
  },
  "luminance": 0.22756
}

Semantic roles & 50–950 ramp

primary
#2A8DB2
secondary
#C78871
accent
#6F43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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