#2A8FAB#2A8FAB

#2A8FAB is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.6% C 0.098 H 220.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2A8FAB
RGBrgb(42, 143, 171)
HSLhsl(193, 61%, 42%)
HSVhsv(193, 75%, 67%)
CMYKcmyk(75.4%, 16.4%, 0%, 32.9%)
CIE-LABlab(55.15, -18.89, -22.94)
CIE-LCHlch(55.15, 29.71, 230.53°)
OKLaboklab(60.57% -0.0745 -0.0641)
OKLCHoklch(60.57% 0.098 220.7)
XYZxyz(18.1249, 23.0753, 42.0189)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8FAB #AB462A
analogous
#2AAB87 #2A8FAB #2A4FAB
triadic
#2A8FAB #AB2A8F #8FAB2A
tetradic
#2A8FAB #872AAB #AB462A #4FAB2A
square
#2A8FAB #872AAB #AB462A #4FAB2A
split-complementary
#2A8FAB #AB2A4F #AB872A
monochromatic
#123D49 #1E667A #2A8FAB #42B2D1 #73C6DD

Accessibility & contrast

On white

3.74
#2A8FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2A8FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8FAB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8FAB#FFFFFF#000000##000000
##2A8FAB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a8fab;
/* rgb */ color: rgb(42, 143, 171);
/* oklch */ color: oklch(60.6% 0.098 220.7);
Tailwind
colors: {
  custom: {
    50: '#77b0c4',
    500: '#2a8fab',
    950: '#000000',
  },
}
SCSS
$custom: #2a8fab;
$custom-light: #77b0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8fab",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 171
  },
  "hsl": {
    "h": 193.023,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60568,
    "c": 0.09828,
    "h": 220.7
  },
  "luminance": 0.23077
}

Semantic roles & 50–950 ramp

primary
#2A8FAB
secondary
#C4806D
accent
#6744E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2A8FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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