#383DB5#383DB5

#383DB5 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.185 H 273.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#383DB5
RGBrgb(56, 61, 181)
HSLhsl(238, 53%, 46%)
HSVhsv(238, 69%, 71%)
CMYKcmyk(69.1%, 66.3%, 0%, 29%)
CIE-LABlab(32.95, 37.30, -64.08)
CIE-LCHlch(32.95, 74.14, 300.20°)
OKLaboklab(43.73% 0.0125 -0.185)
OKLCHoklch(43.73% 0.185 273.9)
XYZxyz(11.6373, 7.5133, 44.5440)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383DB5 #B5B038
analogous
#387CB5 #383DB5 #7238B5
triadic
#383DB5 #B5383D #3DB538
tetradic
#383DB5 #B5387C #B5B038 #38B572
square
#383DB5 #B5387C #B5B038 #38B572
split-complementary
#383DB5 #B57238 #7CB538
monochromatic
#1B1D58 #2A2D86 #383DB5 #5D62CD #8C8FDB

Accessibility & contrast

On white

8.39
#383DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#383DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383DB5
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383DB5#FFFFFF#000000##FFFFFF
##383DB51.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #383db5;
/* rgb */ color: rgb(56, 61, 181);
/* oklch */ color: oklch(43.7% 0.185 273.9);
Tailwind
colors: {
  custom: {
    50: '#7f73cc',
    500: '#383db5',
    950: '#000000',
  },
}
SCSS
$custom: #383db5;
$custom-light: #7f73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#383db5",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 237.6,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43726,
    "c": 0.18547,
    "h": 273.9
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#383DB5
secondary
#C6C383
accent
#D64CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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