#383CD9#383CD9

#383CD9 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.1% C 0.231 H 272.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#383CD9
RGBrgb(56, 60, 217)
HSLhsl(239, 68%, 54%)
HSVhsv(239, 74%, 85%)
CMYKcmyk(74.2%, 72.4%, 0%, 14.9%)
CIE-LABlab(36.14, 49.99, -79.84)
CIE-LCHlch(36.14, 94.20, 302.05°)
OKLaboklab(47.05% 0.0084 -0.2311)
OKLCHoklch(47.05% 0.231 272.1)
XYZxyz(15.7669, 9.0806, 66.5540)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CD9 #D9D538
analogous
#388CD9 #383CD9 #8438D9
triadic
#383CD9 #D9383C #3CD938
tetradic
#383CD9 #D9388C #D9D538 #38D984
square
#383CD9 #D9388C #D9D538 #38D984
split-complementary
#383CD9 #D98438 #8CD938
monochromatic
#181B7E #2226B2 #383CD9 #6B6EE3 #9FA1ED

Accessibility & contrast

On white

7.46
#383CD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#383CD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CD9
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CD9#FFFFFF#000000##FFFFFF
##383CD91.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDE
Deuteranopia (green-blind)
#004DD6
Tritanopia (blue-blind)
#006987
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #383cd9;
/* rgb */ color: rgb(56, 60, 217);
/* oklch */ color: oklch(47.1% 0.231 272.1);
Tailwind
colors: {
  custom: {
    50: '#8773e6',
    500: '#383cd9',
    950: '#000000',
  },
}
SCSS
$custom: #383cd9;
$custom-light: #8773e6;
$custom-dark: #000000;
JSON
{
  "hex": "#383cd9",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 238.509,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47053,
    "c": 0.23122,
    "h": 272.1
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#383CD9
secondary
#D9D794
accent
#E63DEB
background
#F9F7FE
surface
#F1EDFD
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #383CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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