#383DB8#383DB8

#383DB8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.0% C 0.189 H 273.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#383DB8
RGBrgb(56, 61, 184)
HSLhsl(238, 53%, 47%)
HSVhsv(238, 70%, 72%)
CMYKcmyk(69.6%, 66.8%, 0%, 27.8%)
CIE-LABlab(33.22, 38.33, -65.41)
CIE-LCHlch(33.22, 75.82, 300.37°)
OKLaboklab(44% 0.0122 -0.189)
OKLCHoklch(44% 0.189 273.7)
XYZxyz(11.9485, 7.6378, 46.1827)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383DB8 #B8B338
analogous
#387DB8 #383DB8 #7338B8
triadic
#383DB8 #B8383D #3DB838
tetradic
#383DB8 #B8387D #B8B338 #38B873
square
#383DB8 #B8387D #B8B338 #38B873
split-complementary
#383DB8 #B87338 #7DB838
monochromatic
#1B1E5A #2A2D89 #383DB8 #5F63CE #8E91DD

Accessibility & contrast

On white

8.31
#383DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#383DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383DB8
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383DB8#FFFFFF#000000##FFFFFF
##383DB81.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0048B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #383db8;
/* rgb */ color: rgb(56, 61, 184);
/* oklch */ color: oklch(44.0% 0.189 273.7);
Tailwind
colors: {
  custom: {
    50: '#8073ce',
    500: '#383db8',
    950: '#000000',
  },
}
SCSS
$custom: #383db8;
$custom-light: #8073ce;
$custom-dark: #000000;
JSON
{
  "hex": "#383db8",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 237.656,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44004,
    "c": 0.18935,
    "h": 273.7
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#383DB8
secondary
#C7C585
accent
#D74BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #383DB8

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

Preview Lab → · Contrast checker → · Palette generator →

#383DB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva