#383BCC#383BCC

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

Color values

HEX#383BCC
RGBrgb(56, 59, 204)
HSLhsl(239, 59%, 51%)
HSVhsv(239, 73%, 80%)
CMYKcmyk(72.5%, 71.1%, 0%, 20%)
CIE-LABlab(34.65, 46.29, -74.77)
CIE-LCHlch(34.65, 87.94, 301.76°)
OKLaboklab(45.61% 0.0109 -0.2163)
OKLCHoklch(45.61% 0.217 272.9)
XYZxyz(14.0903, 8.3269, 57.9797)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BCC #CCC938
analogous
#3885CC #383BCC #7F38CC
triadic
#383BCC #CC383B #3BCC38
tetradic
#383BCC #CC3885 #CCC938 #38CC7F
square
#383BCC #CC3885 #CCC938 #38CC7F
split-complementary
#383BCC #CC7F38 #85CC38
monochromatic
#1C1E6E #292B9E #383BCC #696BD8 #999BE5

Accessibility & contrast

On white

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

On black

2.67
#383BCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##383BCC#FFFFFF#000000##FFFFFF
##383BCC1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004AC9
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #383bcc;
/* rgb */ color: rgb(56, 59, 204);
/* oklch */ color: oklch(45.6% 0.217 272.9);
Tailwind
colors: {
  custom: {
    50: '#8472dd',
    500: '#383bcc',
    950: '#000000',
  },
}
SCSS
$custom: #383bcc;
$custom-light: #8472dd;
$custom-dark: #000000;
JSON
{
  "hex": "#383bcc",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 238.784,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45609,
    "c": 0.21658,
    "h": 272.9
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#383BCC
secondary
#D1CF8F
accent
#DF45E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #383BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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