#381EBB#381EBB

#381EBB is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.2% C 0.222 H 277.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#381EBB
RGBrgb(56, 30, 187)
HSLhsl(250, 72%, 43%)
HSVhsv(250, 84%, 73%)
CMYKcmyk(70.1%, 84%, 0%, 26.7%)
CIE-LABlab(27.73, 55.64, -76.25)
CIE-LCHlch(27.73, 94.39, 306.12°)
OKLaboklab(40.21% 0.0276 -0.2203)
OKLCHoklch(40.21% 0.222 277.1)
XYZxyz(11.0619, 5.3561, 47.4550)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381EBB #A1BB1E
analogous
#1E53BB #381EBB #861EBB
triadic
#381EBB #BB381E #1EBB38
tetradic
#381EBB #BB1E53 #A1BB1E #1EBB86
square
#381EBB #BB1E53 #A1BB1E #1EBB86
split-complementary
#381EBB #BB861E #53BB1E
monochromatic
#180D52 #281686 #381EBB #5337DF #806CE7

Accessibility & contrast

On white

10.14
#381EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#381EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381EBB
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381EBB#FFFFFF#000000##FFFFFF
##381EBB1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#003BB8
Tritanopia (blue-blind)
#00516F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #381ebb;
/* rgb */ color: rgb(56, 30, 187);
/* oklch */ color: oklch(40.2% 0.222 277.1);
Tailwind
colors: {
  custom: {
    50: '#8361d1',
    500: '#381ebb',
    950: '#000000',
  },
}
SCSS
$custom: #381ebb;
$custom-light: #8361d1;
$custom-dark: #000000;
JSON
{
  "hex": "#381ebb",
  "rgb": {
    "r": 56,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 249.936,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.222,
    "h": 277.1
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#381EBB
secondary
#BCCD67
accent
#EF39D1
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0D0514
muted
#7D7983

Preview Lab

Preview with #381EBB

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

Preview Lab → · Contrast checker → · Palette generator →

#381EBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva