#383EC4#383EC4

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

Color values

HEX#383EC4
RGBrgb(56, 62, 196)
HSLhsl(237, 56%, 49%)
HSVhsv(237, 71%, 77%)
CMYKcmyk(71.4%, 68.4%, 0%, 23.1%)
CIE-LABlab(34.54, 41.83, -70.30)
CIE-LCHlch(34.54, 81.80, 300.76°)
OKLaboklab(45.3% 0.0103 -0.2032)
OKLCHoklch(45.3% 0.204 272.9)
XYZxyz(13.3140, 8.2702, 53.1085)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EC4 #C4BE38
analogous
#3884C4 #383EC4 #7838C4
triadic
#383EC4 #C4383E #3EC438
tetradic
#383EC4 #C43884 #C4BE38 #38C478
square
#383EC4 #C43884 #C4BE38 #38C478
split-complementary
#383EC4 #C47838 #84C438
monochromatic
#1D2065 #2A2F94 #383EC4 #666BD3 #9699E1

Accessibility & contrast

On white

7.91
#383EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#383EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EC4
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EC4#FFFFFF#000000##FFFFFF
##383EC41.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383ec4;
/* rgb */ color: rgb(56, 62, 196);
/* oklch */ color: oklch(45.3% 0.204 272.9);
Tailwind
colors: {
  custom: {
    50: '#8274d7',
    500: '#383ec4',
    950: '#000000',
  },
}
SCSS
$custom: #383ec4;
$custom-light: #8274d7;
$custom-dark: #000000;
JSON
{
  "hex": "#383ec4",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 237.429,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45297,
    "c": 0.20351,
    "h": 272.9
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#383EC4
secondary
#CCC98C
accent
#D849DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #383EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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