#383EB2#383EB2

#383EB2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.180 H 273.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#383EB2
RGBrgb(56, 62, 178)
HSLhsl(237, 52%, 46%)
HSVhsv(237, 69%, 70%)
CMYKcmyk(68.5%, 65.2%, 0%, 30.2%)
CIE-LABlab(32.92, 35.63, -62.35)
CIE-LCHlch(32.92, 71.81, 299.75°)
OKLaboklab(43.62% 0.012 -0.18)
OKLCHoklch(43.62% 0.18 273.8)
XYZxyz(11.3867, 7.4993, 42.9583)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EB2 #B2AC38
analogous
#387BB2 #383EB2 #6F38B2
triadic
#383EB2 #B2383E #3EB238
tetradic
#383EB2 #B2387B #B2AC38 #38B26F
square
#383EB2 #B2387B #B2AC38 #38B26F
split-complementary
#383EB2 #B26F38 #7BB238
monochromatic
#1B1E55 #292E83 #383EB2 #5C61CC #8A8EDA

Accessibility & contrast

On white

8.40
#383EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383EB2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EB2#FFFFFF#000000##FFFFFF
##383EB21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383eb2;
/* rgb */ color: rgb(56, 62, 178);
/* oklch */ color: oklch(43.6% 0.180 273.8);
Tailwind
colors: {
  custom: {
    50: '#7f73ca',
    500: '#383eb2',
    950: '#000000',
  },
}
SCSS
$custom: #383eb2;
$custom-light: #7f73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#383eb2",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 237.049,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43623,
    "c": 0.18038,
    "h": 273.8
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#383EB2
secondary
#C5C181
accent
#D54CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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