#3881D9#3881D9

#3881D9 is a mid, vivid cyan. Relative luminance 0.216; OKLCH L 60.1% C 0.153 H 255.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3881D9
RGBrgb(56, 129, 217)
HSLhsl(213, 68%, 54%)
HSVhsv(213, 74%, 85%)
CMYKcmyk(74.2%, 40.6%, 0%, 14.9%)
CIE-LABlab(53.54, 7.24, -51.58)
CIE-LCHlch(53.54, 52.08, 277.99°)
OKLaboklab(60.12% -0.0396 -0.1473)
OKLCHoklch(60.12% 0.153 255)
XYZxyz(22.0009, 21.5485, 68.6320)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3881D9 #D99038
analogous
#38D1D9 #3881D9 #3F38D9
triadic
#3881D9 #D93881 #81D938
tetradic
#3881D9 #D938D1 #D99038 #38D93F
square
#3881D9 #D938D1 #D99038 #38D93F
split-complementary
#3881D9 #D93F38 #D1D938
monochromatic
#18477E #2263B2 #3881D9 #6BA2E3 #9FC2ED

Accessibility & contrast

On white

3.95
#3881D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#3881D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3881D9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3881D9#FFFFFF#000000##000000
##3881D91.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DC
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#0096A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3881d9;
/* rgb */ color: rgb(56, 129, 217);
/* oklch */ color: oklch(60.1% 0.153 255.0);
Tailwind
colors: {
  custom: {
    50: '#83a5e5',
    500: '#3881d9',
    950: '#000000',
  },
}
SCSS
$custom: #3881d9;
$custom-light: #83a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3881d9",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 217
  },
  "hsl": {
    "h": 212.795,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60117,
    "c": 0.15257,
    "h": 255
  },
  "luminance": 0.21551
}

Semantic roles & 50–950 ramp

primary
#3881D9
secondary
#D9BA94
accent
#9C3DEB
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #3881D9

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

Preview Lab → · Contrast checker → · Palette generator →

#3881D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva