#383DC7#383DC7

#383DC7 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.4% C 0.208 H 272.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#383DC7
RGBrgb(56, 61, 199)
HSLhsl(238, 56%, 50%)
HSVhsv(238, 72%, 78%)
CMYKcmyk(71.9%, 69.3%, 0%, 22%)
CIE-LABlab(34.60, 43.44, -71.95)
CIE-LCHlch(34.60, 84.05, 301.12°)
OKLaboklab(45.43% 0.0105 -0.2081)
OKLCHoklch(45.43% 0.208 272.9)
XYZxyz(13.6050, 8.3004, 54.9069)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383DC7 #C7C238
analogous
#3885C7 #383DC7 #7A38C7
triadic
#383DC7 #C7383D #3DC738
tetradic
#383DC7 #C73885 #C7C238 #38C77A
square
#383DC7 #C73885 #C7C238 #38C77A
split-complementary
#383DC7 #C77A38 #85C738
monochromatic
#1D2067 #2B2E97 #383DC7 #686CD4 #989AE2

Accessibility & contrast

On white

7.89
#383DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#383DC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383DC7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383DC7#FFFFFF#000000##FFFFFF
##383DC71.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #383dc7;
/* rgb */ color: rgb(56, 61, 199);
/* oklch */ color: oklch(45.4% 0.208 272.9);
Tailwind
colors: {
  custom: {
    50: '#8373d9',
    500: '#383dc7',
    950: '#000000',
  },
}
SCSS
$custom: #383dc7;
$custom-light: #8373d9;
$custom-dark: #000000;
JSON
{
  "hex": "#383dc7",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 237.902,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.45426,
    "c": 0.20833,
    "h": 272.9
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#383DC7
secondary
#CDCB8D
accent
#DA48DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #383DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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