#3A81C8#3A81C8

#3A81C8 is a mid, vivid cyan. Relative luminance 0.208; OKLCH L 59.2% C 0.130 H 251.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3A81C8
RGBrgb(58, 129, 200)
HSLhsl(210, 56%, 51%)
HSVhsv(210, 71%, 78%)
CMYKcmyk(71%, 35.5%, 0%, 21.6%)
CIE-LABlab(52.69, 1.38, -43.30)
CIE-LCHlch(52.69, 43.32, 271.83°)
OKLaboklab(59.17% -0.0424 -0.1231)
OKLCHoklch(59.17% 0.13 251)
XYZxyz(20.0166, 20.7680, 57.5861)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A81C8 #C8813A
analogous
#3AC8C8 #3A81C8 #3A3AC8
triadic
#3A81C8 #C83A81 #81C83A
tetradic
#3A81C8 #C83AC8 #C8813A #3AC83A
square
#3A81C8 #C83AC8 #C8813A #3AC83A
split-complementary
#3A81C8 #C83A3A #C8C83A
monochromatic
#1E446A #2B629A #3A81C8 #6AA0D5 #9ABEE3

Accessibility & contrast

On white

4.07
#3A81C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#3A81C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A81C8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A81C8#FFFFFF#000000##000000
##3A81C81.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CB
Deuteranopia (green-blind)
#4C78C7
Tritanopia (blue-blind)
#00929B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3a81c8;
/* rgb */ color: rgb(58, 129, 200);
/* oklch */ color: oklch(59.2% 0.130 251.0);
Tailwind
colors: {
  custom: {
    50: '#81a5d9',
    500: '#3a81c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a81c8;
$custom-light: #81a5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a81c8",
  "rgb": {
    "r": 58,
    "g": 129,
    "b": 200
  },
  "hsl": {
    "h": 210,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.13017,
    "h": 251
  },
  "luminance": 0.2077
}

Semantic roles & 50–950 ramp

primary
#3A81C8
secondary
#CEAF8F
accent
#9448E0
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #3A81C8

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

Preview Lab → · Contrast checker → · Palette generator →

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