#2A8FC5#2A8FC5

#2A8FC5 is a mid, vivid cyan. Relative luminance 0.242; OKLCH L 61.8% C 0.121 H 237.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2A8FC5
RGBrgb(42, 143, 197)
HSLhsl(201, 65%, 47%)
HSVhsv(201, 79%, 77%)
CMYKcmyk(78.7%, 27.4%, 0%, 22.7%)
CIE-LABlab(56.25, -9.88, -36.03)
CIE-LCHlch(56.25, 37.36, 254.66°)
OKLaboklab(61.81% -0.065 -0.1018)
OKLCHoklch(61.81% 0.121 237.4)
XYZxyz(20.8513, 24.1658, 56.3780)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8FC5 #C5602A
analogous
#2AC5AE #2A8FC5 #2A42C5
triadic
#2A8FC5 #C52A8F #8FC52A
tetradic
#2A8FC5 #AE2AC5 #C5602A #42C52A
square
#2A8FC5 #AE2AC5 #C5602A #42C52A
split-complementary
#2A8FC5 #C52A42 #C5AE2A
monochromatic
#144660 #1F6A93 #2A8FC5 #52ABDA #85C3E5

Accessibility & contrast

On white

3.60
#2A8FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#2A8FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8FC5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8FC5#FFFFFF#000000##000000
##2A8FC51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#758FC7
Deuteranopia (green-blind)
#6080C4
Tritanopia (blue-blind)
#009DA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a8fc5;
/* rgb */ color: rgb(42, 143, 197);
/* oklch */ color: oklch(61.8% 0.121 237.4);
Tailwind
colors: {
  custom: {
    50: '#7bafd7',
    500: '#2a8fc5',
    950: '#000000',
  },
}
SCSS
$custom: #2a8fc5;
$custom-light: #7bafd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8fc5",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 197
  },
  "hsl": {
    "h": 200.903,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61814,
    "c": 0.12081,
    "h": 237.4
  },
  "luminance": 0.24168
}

Semantic roles & 50–950 ramp

primary
#2A8FC5
secondary
#CE997D
accent
#7A40E8
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2A8FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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