#383DC4#383DC4

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

Color values

HEX#383DC4
RGBrgb(56, 61, 196)
HSLhsl(238, 56%, 49%)
HSVhsv(238, 71%, 77%)
CMYKcmyk(71.4%, 68.9%, 0%, 23.1%)
CIE-LABlab(34.32, 42.43, -70.66)
CIE-LCHlch(34.32, 82.42, 300.98°)
OKLaboklab(45.14% 0.0109 -0.2043)
OKLCHoklch(45.14% 0.205 273)
XYZxyz(13.2601, 8.1624, 53.0905)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383DC4 #C4BF38
analogous
#3883C4 #383DC4 #7938C4
triadic
#383DC4 #C4383D #3DC438
tetradic
#383DC4 #C43883 #C4BF38 #38C479
square
#383DC4 #C43883 #C4BF38 #38C479
split-complementary
#383DC4 #C47938 #83C438
monochromatic
#1D1F65 #2A2E94 #383DC4 #666AD3 #9698E1

Accessibility & contrast

On white

7.98
#383DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#383DC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383DC4
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383DC4#FFFFFF#000000##FFFFFF
##383DC41.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383dc4;
/* rgb */ color: rgb(56, 61, 196);
/* oklch */ color: oklch(45.1% 0.205 273.0);
Tailwind
colors: {
  custom: {
    50: '#8373d7',
    500: '#383dc4',
    950: '#000000',
  },
}
SCSS
$custom: #383dc4;
$custom-light: #8373d7;
$custom-dark: #000000;
JSON
{
  "hex": "#383dc4",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 237.857,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45138,
    "c": 0.2046,
    "h": 273
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#383DC4
secondary
#CCCA8C
accent
#DA49DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #383DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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