#2A8EC2#2A8EC2

#2A8EC2 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.4% C 0.118 H 236.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A8EC2
RGBrgb(42, 142, 194)
HSLhsl(201, 64%, 46%)
HSVhsv(201, 78%, 76%)
CMYKcmyk(78.4%, 26.8%, 0%, 23.9%)
CIE-LABlab(55.82, -10.38, -35.01)
CIE-LCHlch(55.82, 36.52, 253.48°)
OKLaboklab(61.42% -0.0651 -0.0989)
OKLCHoklch(61.42% 0.118 236.7)
XYZxyz(20.3616, 23.7308, 54.5358)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8EC2 #C25E2A
analogous
#2AC2AA #2A8EC2 #2A42C2
triadic
#2A8EC2 #C22A8E #8EC22A
tetradic
#2A8EC2 #AA2AC2 #C25E2A #42C22A
square
#2A8EC2 #AA2AC2 #C25E2A #42C22A
split-complementary
#2A8EC2 #C22A42 #C2AA2A
monochromatic
#14445D #1F6990 #2A8EC2 #50AAD9 #82C3E4

Accessibility & contrast

On white

3.65
#2A8EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#2A8EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8EC2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8EC2#FFFFFF#000000##000000
##2A8EC21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#758EC4
Deuteranopia (green-blind)
#617FC1
Tritanopia (blue-blind)
#009BA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a8ec2;
/* rgb */ color: rgb(42, 142, 194);
/* oklch */ color: oklch(61.4% 0.118 236.7);
Tailwind
colors: {
  custom: {
    50: '#7bafd4',
    500: '#2a8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #2a8ec2;
$custom-light: #7bafd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8ec2",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 200.526,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.61422,
    "c": 0.11838,
    "h": 236.7
  },
  "luminance": 0.23733
}

Semantic roles & 50–950 ramp

primary
#2A8EC2
secondary
#CD977B
accent
#7A40E7
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2A8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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