#3A8EC2#3A8EC2

#3A8EC2 is a mid, moderate cyan. Relative luminance 0.241; OKLCH L 61.9% C 0.112 H 239.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3A8EC2
RGBrgb(58, 142, 194)
HSLhsl(203, 54%, 49%)
HSVhsv(203, 70%, 76%)
CMYKcmyk(70.1%, 26.8%, 0%, 23.9%)
CIE-LABlab(56.23, -8.32, -34.34)
CIE-LCHlch(56.23, 35.33, 256.38°)
OKLaboklab(61.86% -0.0569 -0.0968)
OKLCHoklch(61.86% 0.112 239.5)
XYZxyz(21.1517, 24.1383, 54.5729)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8EC2 #C26E3A
analogous
#3AC2B2 #3A8EC2 #3A4AC2
triadic
#3A8EC2 #C23A8E #8EC23A
tetradic
#3A8EC2 #B23AC2 #C26E3A #4AC23A
square
#3A8EC2 #B23AC2 #C26E3A #4AC23A
split-complementary
#3A8EC2 #C23A4A #C2B23A
monochromatic
#1E4964 #2C6C93 #3A8EC2 #67A9D2 #97C4E0

Accessibility & contrast

On white

3.60
#3A8EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#3A8EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8EC2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8EC2#FFFFFF#000000##000000
##3A8EC21.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)
#768EC4
Deuteranopia (green-blind)
#6381C1
Tritanopia (blue-blind)
#009BA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #3a8ec2;
/* rgb */ color: rgb(58, 142, 194);
/* oklch */ color: oklch(61.9% 0.112 239.5);
Tailwind
colors: {
  custom: {
    50: '#80aed4',
    500: '#3a8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3a8ec2;
$custom-light: #80aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8ec2",
  "rgb": {
    "r": 58,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 202.941,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.61863,
    "c": 0.11233,
    "h": 239.5
  },
  "luminance": 0.24141
}

Semantic roles & 50–950 ramp

primary
#3A8EC2
secondary
#CBA58D
accent
#834ADD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #3A8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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