#3881AC#3881AC

#3881AC is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.6% C 0.098 H 237.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3881AC
RGBrgb(56, 129, 172)
HSLhsl(202, 51%, 45%)
HSVhsv(202, 67%, 67%)
CMYKcmyk(67.4%, 25%, 0%, 32.5%)
CIE-LABlab(51.29, -8.74, -29.46)
CIE-LCHlch(51.29, 30.72, 253.48°)
OKLaboklab(57.61% -0.0522 -0.0828)
OKLCHoklch(57.61% 0.098 237.8)
XYZxyz(16.9247, 19.5180, 41.8971)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3881AC #AC6338
analogous
#38AC9D #3881AC #3847AC
triadic
#3881AC #AC3881 #81AC38
tetradic
#3881AC #9D38AC #AC6338 #47AC38
square
#3881AC #9D38AC #AC6338 #47AC38
split-complementary
#3881AC #AC3847 #AC9D38
monochromatic
#1A3C50 #295E7E #3881AC #589FC9 #87BAD8

Accessibility & contrast

On white

4.28
#3881AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#3881AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3881AC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3881AC#FFFFFF#000000##000000
##3881AC1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D81AE
Deuteranopia (green-blind)
#5D75AB
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3881ac;
/* rgb */ color: rgb(56, 129, 172);
/* oklch */ color: oklch(57.6% 0.098 237.8);
Tailwind
colors: {
  custom: {
    50: '#7ca5c5',
    500: '#3881ac',
    950: '#000000',
  },
}
SCSS
$custom: #3881ac;
$custom-light: #7ca5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3881ac",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 172
  },
  "hsl": {
    "h": 202.241,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57606,
    "c": 0.09792,
    "h": 237.8
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#3881AC
secondary
#C2977E
accent
#824DDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3881AC

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

Preview Lab → · Contrast checker → · Palette generator →

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