#383CC6#383CC6

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

Color values

HEX#383CC6
RGBrgb(56, 60, 198)
HSLhsl(238, 56%, 50%)
HSVhsv(238, 72%, 78%)
CMYKcmyk(71.7%, 69.7%, 0%, 22.4%)
CIE-LABlab(34.29, 43.70, -71.88)
CIE-LCHlch(34.29, 84.12, 301.30°)
OKLaboklab(45.17% 0.0112 -0.2079)
OKLCHoklch(45.17% 0.208 273.1)
XYZxyz(13.4364, 8.1483, 54.2798)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CC6 #C6C238
analogous
#3883C6 #383CC6 #7B38C6
triadic
#383CC6 #C6383C #3CC638
tetradic
#383CC6 #C63883 #C6C238 #38C67B
square
#383CC6 #C63883 #C6C238 #38C67B
split-complementary
#383CC6 #C67B38 #83C638
monochromatic
#1D1F67 #2B2E96 #383CC6 #676AD4 #9799E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##383CC6#FFFFFF#000000##FFFFFF
##383CC61.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)
#0057CA
Deuteranopia (green-blind)
#004AC3
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #383cc6;
/* rgb */ color: rgb(56, 60, 198);
/* oklch */ color: oklch(45.2% 0.208 273.1);
Tailwind
colors: {
  custom: {
    50: '#8373d9',
    500: '#383cc6',
    950: '#000000',
  },
}
SCSS
$custom: #383cc6;
$custom-light: #8373d9;
$custom-dark: #000000;
JSON
{
  "hex": "#383cc6",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 238.31,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45174,
    "c": 0.20816,
    "h": 273.1
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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