#383DB2#383DB2

#383DB2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.182 H 274.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#383DB2
RGBrgb(56, 61, 178)
HSLhsl(238, 52%, 46%)
HSVhsv(238, 69%, 70%)
CMYKcmyk(68.5%, 65.7%, 0%, 30.2%)
CIE-LABlab(32.68, 36.26, -62.73)
CIE-LCHlch(32.68, 72.46, 300.03°)
OKLaboklab(43.45% 0.0128 -0.1811)
OKLCHoklch(43.45% 0.182 274)
XYZxyz(11.3328, 7.3915, 42.9403)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383DB2 #B2AD38
analogous
#387AB2 #383DB2 #7038B2
triadic
#383DB2 #B2383D #3DB238
tetradic
#383DB2 #B2387A #B2AD38 #38B270
square
#383DB2 #B2387A #B2AD38 #38B270
split-complementary
#383DB2 #B27038 #7AB238
monochromatic
#1B1D55 #292D83 #383DB2 #5C60CC #8A8DDA

Accessibility & contrast

On white

8.47
#383DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#383DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383DB2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383DB2#FFFFFF#000000##FFFFFF
##383DB21.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #383db2;
/* rgb */ color: rgb(56, 61, 178);
/* oklch */ color: oklch(43.5% 0.182 274.0);
Tailwind
colors: {
  custom: {
    50: '#7f73ca',
    500: '#383db2',
    950: '#000000',
  },
}
SCSS
$custom: #383db2;
$custom-light: #7f73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#383db2",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 237.541,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43451,
    "c": 0.18156,
    "h": 274
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#383DB2
secondary
#C5C281
accent
#D64CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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