#2A8CBC#2A8CBC

#2A8CBC is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.6% C 0.114 H 235.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2A8CBC
RGBrgb(42, 140, 188)
HSLhsl(200, 63%, 45%)
HSVhsv(200, 78%, 74%)
CMYKcmyk(77.7%, 25.5%, 0%, 26.3%)
CIE-LABlab(54.95, -11.38, -32.96)
CIE-LCHlch(54.95, 34.87, 250.96°)
OKLaboklab(60.64% -0.0652 -0.093)
OKLCHoklch(60.64% 0.114 235)
XYZxyz(19.4064, 22.8769, 50.9601)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8CBC #BC5A2A
analogous
#2ABCA3 #2A8CBC #2A43BC
triadic
#2A8CBC #BC2A8C #8CBC2A
tetradic
#2A8CBC #A32ABC #BC5A2A #43BC2A
square
#2A8CBC #A32ABC #BC5A2A #43BC2A
split-complementary
#2A8CBC #BC2A43 #BCA32A
monochromatic
#144158 #1F678A #2A8CBC #4CA9D7 #7EC1E2

Accessibility & contrast

On white

3.77
#2A8CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#2A8CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8CBC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8CBC#FFFFFF#000000##000000
##2A8CBC1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#758BBE
Deuteranopia (green-blind)
#617DBB
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a8cbc;
/* rgb */ color: rgb(42, 140, 188);
/* oklch */ color: oklch(60.6% 0.114 235.0);
Tailwind
colors: {
  custom: {
    50: '#7aadd0',
    500: '#2a8cbc',
    950: '#000000',
  },
}
SCSS
$custom: #2a8cbc;
$custom-light: #7aadd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8cbc",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 188
  },
  "hsl": {
    "h": 199.726,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6064,
    "c": 0.11357,
    "h": 235
  },
  "luminance": 0.22879
}

Semantic roles & 50–950 ramp

primary
#2A8CBC
secondary
#CB9377
accent
#7841E7
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2A8CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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