#383DC5#383DC5

#383DC5 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.206 H 273.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#383DC5
RGBrgb(56, 61, 197)
HSLhsl(238, 56%, 50%)
HSVhsv(238, 72%, 77%)
CMYKcmyk(71.6%, 69%, 0%, 22.7%)
CIE-LABlab(34.41, 42.77, -71.09)
CIE-LCHlch(34.41, 82.96, 301.03°)
OKLaboklab(45.23% 0.0107 -0.2056)
OKLCHoklch(45.23% 0.206 273)
XYZxyz(13.3743, 8.2081, 53.6920)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383DC5 #C5C038
analogous
#3884C5 #383DC5 #7938C5
triadic
#383DC5 #C5383D #3DC538
tetradic
#383DC5 #C53884 #C5C038 #38C579
square
#383DC5 #C53884 #C5C038 #38C579
split-complementary
#383DC5 #C57938 #84C538
monochromatic
#1D1F66 #2A2E95 #383DC5 #676AD4 #9699E1

Accessibility & contrast

On white

7.95
#383DC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#383DC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383DC5
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383DC5#FFFFFF#000000##FFFFFF
##383DC51.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383dc5;
/* rgb */ color: rgb(56, 61, 197);
/* oklch */ color: oklch(45.2% 0.206 273.0);
Tailwind
colors: {
  custom: {
    50: '#8373d8',
    500: '#383dc5',
    950: '#000000',
  },
}
SCSS
$custom: #383dc5;
$custom-light: #8373d8;
$custom-dark: #000000;
JSON
{
  "hex": "#383dc5",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 237.872,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45234,
    "c": 0.20584,
    "h": 273
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#383DC5
secondary
#CDCA8C
accent
#DA49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #383DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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