#2A8FAC#2A8FAC

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

Color values

HEX#2A8FAC
RGBrgb(42, 143, 172)
HSLhsl(193, 61%, 42%)
HSVhsv(193, 76%, 67%)
CMYKcmyk(75.6%, 16.9%, 0%, 32.5%)
CIE-LABlab(55.19, -18.55, -23.45)
CIE-LCHlch(55.19, 29.90, 231.66°)
OKLaboklab(60.61% -0.0741 -0.0656)
OKLCHoklch(60.61% 0.099 221.5)
XYZxyz(18.2206, 23.1135, 42.5228)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8FAC #AC472A
analogous
#2AAC88 #2A8FAC #2A4EAC
triadic
#2A8FAC #AC2A8F #8FAC2A
tetradic
#2A8FAC #882AAC #AC472A #4EAC2A
square
#2A8FAC #882AAC #AC472A #4EAC2A
split-complementary
#2A8FAC #AC2A4E #AC882A
monochromatic
#123D4A #1E667B #2A8FAC #42B1D1 #73C5DD

Accessibility & contrast

On white

3.73
#2A8FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8FAC#FFFFFF#000000##000000
##2A8FAC1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a8fac;
/* rgb */ color: rgb(42, 143, 172);
/* oklch */ color: oklch(60.6% 0.099 221.5);
Tailwind
colors: {
  custom: {
    50: '#77b0c4',
    500: '#2a8fac',
    950: '#000000',
  },
}
SCSS
$custom: #2a8fac;
$custom-light: #77b0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8fac",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 193.385,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60613,
    "c": 0.09895,
    "h": 221.5
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#2A8FAC
secondary
#C4816D
accent
#6844E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2A8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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