#3E81AB#3E81AB

#3E81AB is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.8% C 0.094 H 238.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3E81AB
RGBrgb(62, 129, 171)
HSLhsl(203, 47%, 46%)
HSVhsv(203, 64%, 67%)
CMYKcmyk(63.7%, 24.6%, 0%, 32.9%)
CIE-LABlab(51.45, -8.02, -28.60)
CIE-LCHlch(51.45, 29.71, 254.34°)
OKLaboklab(57.78% -0.0486 -0.0803)
OKLCHoklch(57.78% 0.094 238.8)
XYZxyz(17.1848, 19.6632, 41.4099)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E81AB #AB683E
analogous
#3EAB9E #3E81AB #3E4BAB
triadic
#3E81AB #AB3E81 #81AB3E
tetradic
#3E81AB #9E3EAB #AB683E #4BAB3E
square
#3E81AB #9E3EAB #AB683E #4BAB3E
split-complementary
#3E81AB #AB3E4B #AB9E3E
monochromatic
#1D3D51 #2E5F7E #3E81AB #619FC6 #8EBAD6

Accessibility & contrast

On white

4.26
#3E81AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3E81AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E81AB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E81AB#FFFFFF#000000##000000
##3E81AB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E81AD
Deuteranopia (green-blind)
#5F76AA
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3e81ab;
/* rgb */ color: rgb(62, 129, 171);
/* oklch */ color: oklch(57.8% 0.094 238.8);
Tailwind
colors: {
  custom: {
    50: '#7ea5c4',
    500: '#3e81ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e81ab;
$custom-light: #7ea5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e81ab",
  "rgb": {
    "r": 62,
    "g": 129,
    "b": 171
  },
  "hsl": {
    "h": 203.119,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57782,
    "c": 0.09385,
    "h": 238.8
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#3E81AB
secondary
#C19B84
accent
#8551D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #3E81AB

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

Preview Lab → · Contrast checker → · Palette generator →

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