#3A8EC7#3A8EC7

#3A8EC7 is a light, moderate cyan. Relative luminance 0.244; OKLCH L 62.1% C 0.118 H 242.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3A8EC7
RGBrgb(58, 142, 199)
HSLhsl(204, 56%, 50%)
HSVhsv(204, 71%, 78%)
CMYKcmyk(70.9%, 28.6%, 0%, 22%)
CIE-LABlab(56.45, -6.60, -36.81)
CIE-LCHlch(56.45, 37.40, 259.84°)
OKLaboklab(62.12% -0.0553 -0.104)
OKLCHoklch(62.12% 0.118 242)
XYZxyz(21.7227, 24.3667, 57.5801)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8EC7 #C7733A
analogous
#3AC7B9 #3A8EC7 #3A48C7
triadic
#3A8EC7 #C73A8E #8EC73A
tetradic
#3A8EC7 #B93AC7 #C7733A #48C73A
square
#3A8EC7 #B93AC7 #C7733A #48C73A
split-complementary
#3A8EC7 #C73A48 #C7B93A
monochromatic
#1E4A69 #2B6C98 #3A8EC7 #6AA9D5 #99C5E2

Accessibility & contrast

On white

3.58
#3A8EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#3A8EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8EC7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8EC7#FFFFFF#000000##000000
##3A8EC71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#748FCA
Deuteranopia (green-blind)
#6081C6
Tritanopia (blue-blind)
#009CA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #3a8ec7;
/* rgb */ color: rgb(58, 142, 199);
/* oklch */ color: oklch(62.1% 0.118 242.0);
Tailwind
colors: {
  custom: {
    50: '#81aed8',
    500: '#3a8ec7',
    950: '#000000',
  },
}
SCSS
$custom: #3a8ec7;
$custom-light: #81aed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8ec7",
  "rgb": {
    "r": 58,
    "g": 142,
    "b": 199
  },
  "hsl": {
    "h": 204.255,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.62118,
    "c": 0.11781,
    "h": 242
  },
  "luminance": 0.24369
}

Semantic roles & 50–950 ramp

primary
#3A8EC7
secondary
#CEA88F
accent
#8649DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C1014
muted
#7D7F83

Preview Lab

Preview with #3A8EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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