#3881BB#3881BB

#3881BB is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 58.4% C 0.115 H 245.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3881BB
RGBrgb(56, 129, 187)
HSLhsl(207, 54%, 48%)
HSVhsv(207, 70%, 73%)
CMYKcmyk(70.1%, 31%, 0%, 26.7%)
CIE-LABlab(51.98, -3.53, -37.01)
CIE-LCHlch(51.98, 37.17, 264.55°)
OKLaboklab(58.38% -0.0474 -0.1047)
OKLCHoklch(58.38% 0.115 245.7)
XYZxyz(18.4474, 20.1271, 49.9168)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3881BB #BB7238
analogous
#38BBB3 #3881BB #3840BB
triadic
#3881BB #BB3881 #81BB38
tetradic
#3881BB #B338BB #BB7238 #40BB38
square
#3881BB #B338BB #BB7238 #40BB38
split-complementary
#3881BB #BB3840 #BBB338
monochromatic
#1C405D #2A618C #3881BB #619ED0 #90BBDE

Accessibility & contrast

On white

4.18
#3881BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3881BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3881BB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3881BB#FFFFFF#000000##000000
##3881BB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BE
Deuteranopia (green-blind)
#5576BA
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3881bb;
/* rgb */ color: rgb(56, 129, 187);
/* oklch */ color: oklch(58.4% 0.115 245.7);
Tailwind
colors: {
  custom: {
    50: '#7ea5cf',
    500: '#3881bb',
    950: '#000000',
  },
}
SCSS
$custom: #3881bb;
$custom-light: #7ea5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3881bb",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 206.565,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58382,
    "c": 0.11494,
    "h": 245.7
  },
  "luminance": 0.20129
}

Semantic roles & 50–950 ramp

primary
#3881BB
secondary
#C8A486
accent
#8B4BDD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3881BB

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

Preview Lab → · Contrast checker → · Palette generator →

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