#383ED9#383ED9

#383ED9 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.3% C 0.229 H 271.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#383ED9
RGBrgb(56, 62, 217)
HSLhsl(238, 68%, 54%)
HSVhsv(238, 74%, 85%)
CMYKcmyk(74.2%, 71.4%, 0%, 14.9%)
CIE-LABlab(36.54, 48.86, -79.17)
CIE-LCHlch(36.54, 93.04, 301.68°)
OKLaboklab(47.34% 0.0075 -0.2291)
OKLCHoklch(47.34% 0.229 271.9)
XYZxyz(15.8737, 9.2941, 66.5895)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383ED9 #D9D338
analogous
#388ED9 #383ED9 #8238D9
triadic
#383ED9 #D9383E #3ED938
tetradic
#383ED9 #D9388E #D9D338 #38D982
square
#383ED9 #D9388E #D9D338 #38D982
split-complementary
#383ED9 #D98238 #8ED938
monochromatic
#181C7E #2227B2 #383ED9 #6B70E3 #9FA2ED

Accessibility & contrast

On white

7.34
#383ED9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#383ED9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383ED9
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383ED9#FFFFFF#000000##FFFFFF
##383ED91.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDE
Deuteranopia (green-blind)
#004ED6
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #383ed9;
/* rgb */ color: rgb(56, 62, 217);
/* oklch */ color: oklch(47.3% 0.229 271.9);
Tailwind
colors: {
  custom: {
    50: '#8775e6',
    500: '#383ed9',
    950: '#000000',
  },
}
SCSS
$custom: #383ed9;
$custom-light: #8775e6;
$custom-dark: #000000;
JSON
{
  "hex": "#383ed9",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 237.764,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.22925,
    "h": 271.9
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#383ED9
secondary
#D9D694
accent
#E43DEB
background
#F9F7FE
surface
#F1EDFD
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #383ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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