#3A8EC4#3A8EC4

#3A8EC4 is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 62.0% C 0.114 H 240.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3A8EC4
RGBrgb(58, 142, 196)
HSLhsl(203, 54%, 50%)
HSVhsv(203, 70%, 77%)
CMYKcmyk(70.4%, 27.6%, 0%, 23.1%)
CIE-LABlab(56.32, -7.63, -35.33)
CIE-LCHlch(56.32, 36.15, 257.81°)
OKLaboklab(61.96% -0.0563 -0.0997)
OKLCHoklch(61.96% 0.114 240.5)
XYZxyz(21.3779, 24.2287, 55.7638)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8EC4 #C4703A
analogous
#3AC4B5 #3A8EC4 #3A49C4
triadic
#3A8EC4 #C43A8E #8EC43A
tetradic
#3A8EC4 #B53AC4 #C4703A #49C43A
square
#3A8EC4 #B53AC4 #C4703A #49C43A
split-complementary
#3A8EC4 #C43A49 #C4B53A
monochromatic
#1E4A66 #2C6C95 #3A8EC4 #69A9D3 #98C4E0

Accessibility & contrast

On white

3.59
#3A8EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#3A8EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8EC4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8EC4#FFFFFF#000000##000000
##3A8EC41.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#758EC6
Deuteranopia (green-blind)
#6281C3
Tritanopia (blue-blind)
#009BA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #3a8ec4;
/* rgb */ color: rgb(58, 142, 196);
/* oklch */ color: oklch(62.0% 0.114 240.5);
Tailwind
colors: {
  custom: {
    50: '#81aed6',
    500: '#3a8ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3a8ec4;
$custom-light: #81aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8ec4",
  "rgb": {
    "r": 58,
    "g": 142,
    "b": 196
  },
  "hsl": {
    "h": 203.478,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61964,
    "c": 0.11449,
    "h": 240.5
  },
  "luminance": 0.24231
}

Semantic roles & 50–950 ramp

primary
#3A8EC4
secondary
#CCA68E
accent
#844ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #3A8EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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