#2A8FC2#2A8FC2

#2A8FC2 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.7% C 0.118 H 235.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2A8FC2
RGBrgb(42, 143, 194)
HSLhsl(200, 64%, 46%)
HSVhsv(200, 78%, 76%)
CMYKcmyk(78.4%, 26.3%, 0%, 23.9%)
CIE-LABlab(56.12, -10.94, -34.54)
CIE-LCHlch(56.12, 36.23, 252.42°)
OKLaboklab(61.66% -0.066 -0.0975)
OKLCHoklch(61.66% 0.118 235.9)
XYZxyz(20.5110, 24.0297, 54.5857)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8FC2 #C25D2A
analogous
#2AC2A9 #2A8FC2 #2A43C2
triadic
#2A8FC2 #C22A8F #8FC22A
tetradic
#2A8FC2 #A92AC2 #C25D2A #43C22A
square
#2A8FC2 #A92AC2 #C25D2A #43C22A
split-complementary
#2A8FC2 #C22A43 #C2A92A
monochromatic
#14455D #1F6A90 #2A8FC2 #50ABD9 #82C3E4

Accessibility & contrast

On white

3.62
#2A8FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#2A8FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8FC2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8FC2#FFFFFF#000000##000000
##2A8FC21.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#768EC4
Deuteranopia (green-blind)
#6280C1
Tritanopia (blue-blind)
#009CA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a8fc2;
/* rgb */ color: rgb(42, 143, 194);
/* oklch */ color: oklch(61.7% 0.118 235.9);
Tailwind
colors: {
  custom: {
    50: '#7bafd4',
    500: '#2a8fc2',
    950: '#000000',
  },
}
SCSS
$custom: #2a8fc2;
$custom-light: #7bafd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8fc2",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 194
  },
  "hsl": {
    "h": 200.132,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.61661,
    "c": 0.11775,
    "h": 235.9
  },
  "luminance": 0.24032
}

Semantic roles & 50–950 ramp

primary
#2A8FC2
secondary
#CD967B
accent
#7840E7
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2A8FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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