#383EC5#383EC5

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

Color values

HEX#383EC5
RGBrgb(56, 62, 197)
HSLhsl(237, 56%, 50%)
HSVhsv(237, 72%, 77%)
CMYKcmyk(71.6%, 68.5%, 0%, 22.7%)
CIE-LABlab(34.63, 42.17, -70.73)
CIE-LCHlch(34.63, 82.35, 300.80°)
OKLaboklab(45.39% 0.0102 -0.2045)
OKLCHoklch(45.39% 0.205 272.8)
XYZxyz(13.4282, 8.3159, 53.7099)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EC5 #C5BF38
analogous
#3884C5 #383EC5 #7938C5
triadic
#383EC5 #C5383E #3EC538
tetradic
#383EC5 #C53884 #C5BF38 #38C579
square
#383EC5 #C53884 #C5BF38 #38C579
split-complementary
#383EC5 #C57938 #84C538
monochromatic
#1D2066 #2A2F95 #383EC5 #676BD4 #9699E1

Accessibility & contrast

On white

7.88
#383EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383EC5
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EC5#FFFFFF#000000##FFFFFF
##383EC51.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004BC2
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #383ec5;
/* rgb */ color: rgb(56, 62, 197);
/* oklch */ color: oklch(45.4% 0.205 272.8);
Tailwind
colors: {
  custom: {
    50: '#8374d8',
    500: '#383ec5',
    950: '#000000',
  },
}
SCSS
$custom: #383ec5;
$custom-light: #8374d8;
$custom-dark: #000000;
JSON
{
  "hex": "#383ec5",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 237.447,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45392,
    "c": 0.20476,
    "h": 272.8
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#383EC5
secondary
#CDCA8C
accent
#D949DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #383EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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