#3A8EC1#3A8EC1

#3A8EC1 is a mid, moderate cyan. Relative luminance 0.241; OKLCH L 61.8% C 0.111 H 239.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3A8EC1
RGBrgb(58, 142, 193)
HSLhsl(203, 54%, 49%)
HSVhsv(203, 70%, 76%)
CMYKcmyk(69.9%, 26.4%, 0%, 24.3%)
CIE-LABlab(56.18, -8.66, -33.84)
CIE-LCHlch(56.18, 34.93, 255.64°)
OKLaboklab(61.81% -0.0573 -0.0954)
OKLCHoklch(61.81% 0.111 239)
XYZxyz(21.0398, 24.0935, 53.9834)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8EC1 #C16D3A
analogous
#3AC1B1 #3A8EC1 #3A4AC1
triadic
#3A8EC1 #C13A8E #8EC13A
tetradic
#3A8EC1 #B13AC1 #C16D3A #4AC13A
square
#3A8EC1 #B13AC1 #C16D3A #4AC13A
split-complementary
#3A8EC1 #C13A4A #C1B13A
monochromatic
#1E4963 #2C6B92 #3A8EC1 #67A9D1 #96C4DF

Accessibility & contrast

On white

3.61
#3A8EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#3A8EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8EC1
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8EC1#FFFFFF#000000##000000
##3A8EC11.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#768EC3
Deuteranopia (green-blind)
#6481C0
Tritanopia (blue-blind)
#009BA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #3a8ec1;
/* rgb */ color: rgb(58, 142, 193);
/* oklch */ color: oklch(61.8% 0.111 239.0);
Tailwind
colors: {
  custom: {
    50: '#80afd4',
    500: '#3a8ec1',
    950: '#000000',
  },
}
SCSS
$custom: #3a8ec1;
$custom-light: #80afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8ec1",
  "rgb": {
    "r": 58,
    "g": 142,
    "b": 193
  },
  "hsl": {
    "h": 202.667,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.11126,
    "h": 239
  },
  "luminance": 0.24096
}

Semantic roles & 50–950 ramp

primary
#3A8EC1
secondary
#CBA48C
accent
#824BDD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #3A8EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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