#383DB9#383DB9

#383DB9 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.191 H 273.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#383DB9
RGBrgb(56, 61, 185)
HSLhsl(238, 54%, 47%)
HSVhsv(238, 70%, 73%)
CMYKcmyk(69.7%, 67%, 0%, 27.5%)
CIE-LABlab(33.31, 38.68, -65.86)
CIE-LCHlch(33.31, 76.37, 300.42°)
OKLaboklab(44.1% 0.0121 -0.1903)
OKLCHoklch(44.1% 0.191 273.6)
XYZxyz(12.0537, 7.6799, 46.7367)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383DB9 #B9B438
analogous
#387EB9 #383DB9 #7338B9
triadic
#383DB9 #B9383D #3DB938
tetradic
#383DB9 #B9387E #B9B438 #38B973
square
#383DB9 #B9387E #B9B438 #38B973
split-complementary
#383DB9 #B97338 #7EB938
monochromatic
#1C1E5B #2A2E8A #383DB9 #5F64CF #8E92DD

Accessibility & contrast

On white

8.28
#383DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#383DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383DB9
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383DB9#FFFFFF#000000##FFFFFF
##383DB91.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #383db9;
/* rgb */ color: rgb(56, 61, 185);
/* oklch */ color: oklch(44.1% 0.191 273.6);
Tailwind
colors: {
  custom: {
    50: '#8073cf',
    500: '#383db9',
    950: '#000000',
  },
}
SCSS
$custom: #383db9;
$custom-light: #8073cf;
$custom-dark: #000000;
JSON
{
  "hex": "#383db9",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 237.674,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44097,
    "c": 0.19065,
    "h": 273.6
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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