#383DB7#383DB7

#383DB7 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.188 H 273.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#383DB7
RGBrgb(56, 61, 183)
HSLhsl(238, 53%, 47%)
HSVhsv(238, 69%, 72%)
CMYKcmyk(69.4%, 66.7%, 0%, 28.2%)
CIE-LABlab(33.13, 37.99, -64.97)
CIE-LCHlch(33.13, 75.26, 300.31°)
OKLaboklab(43.91% 0.0123 -0.1877)
OKLCHoklch(43.91% 0.188 273.8)
XYZxyz(11.8440, 7.5960, 45.6326)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383DB7 #B7B238
analogous
#387DB7 #383DB7 #7338B7
triadic
#383DB7 #B7383D #3DB738
tetradic
#383DB7 #B7387D #B7B238 #38B773
square
#383DB7 #B7387D #B7B238 #38B773
split-complementary
#383DB7 #B77338 #7DB738
monochromatic
#1B1E59 #2A2D88 #383DB7 #5E63CE #8D90DC

Accessibility & contrast

On white

8.34
#383DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#383DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383DB7
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383DB7#FFFFFF#000000##FFFFFF
##383DB71.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #383db7;
/* rgb */ color: rgb(56, 61, 183);
/* oklch */ color: oklch(43.9% 0.188 273.8);
Tailwind
colors: {
  custom: {
    50: '#8073ce',
    500: '#383db7',
    950: '#000000',
  },
}
SCSS
$custom: #383db7;
$custom-light: #8073ce;
$custom-dark: #000000;
JSON
{
  "hex": "#383db7",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 237.638,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43911,
    "c": 0.18806,
    "h": 273.8
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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