#2A8EBC#2A8EBC

#2A8EBC is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.1% C 0.112 H 233.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2A8EBC
RGBrgb(42, 142, 188)
HSLhsl(199, 63%, 45%)
HSVhsv(199, 78%, 74%)
CMYKcmyk(77.7%, 24.5%, 0%, 26.3%)
CIE-LABlab(55.55, -12.50, -32.02)
CIE-LCHlch(55.55, 34.37, 248.68°)
OKLaboklab(61.12% -0.0671 -0.0902)
OKLCHoklch(61.12% 0.112 233.4)
XYZxyz(19.7013, 23.4667, 51.0584)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8EBC #BC582A
analogous
#2ABCA1 #2A8EBC #2A45BC
triadic
#2A8EBC #BC2A8E #8EBC2A
tetradic
#2A8EBC #A12ABC #BC582A #45BC2A
square
#2A8EBC #A12ABC #BC582A #45BC2A
split-complementary
#2A8EBC #BC2A45 #BCA12A
monochromatic
#144258 #1F688A #2A8EBC #4CABD7 #7EC3E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8EBC#FFFFFF#000000##000000
##2A8EBC1.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)
#778DBE
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#009A9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a8ebc;
/* rgb */ color: rgb(42, 142, 188);
/* oklch */ color: oklch(61.1% 0.112 233.4);
Tailwind
colors: {
  custom: {
    50: '#7aafd0',
    500: '#2a8ebc',
    950: '#000000',
  },
}
SCSS
$custom: #2a8ebc;
$custom-light: #7aafd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8ebc",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 188
  },
  "hsl": {
    "h": 198.904,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61121,
    "c": 0.11247,
    "h": 233.4
  },
  "luminance": 0.23469
}

Semantic roles & 50–950 ramp

primary
#2A8EBC
secondary
#CB9177
accent
#7541E7
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2A8EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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