#383CCB#383CCB

#383CCB is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.7% C 0.214 H 272.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#383CCB
RGBrgb(56, 60, 203)
HSLhsl(238, 59%, 51%)
HSVhsv(238, 72%, 80%)
CMYKcmyk(72.4%, 70.4%, 0%, 20.4%)
CIE-LABlab(34.77, 45.37, -74.00)
CIE-LCHlch(34.77, 86.81, 301.51°)
OKLaboklab(45.66% 0.0105 -0.2141)
OKLCHoklch(45.66% 0.214 272.8)
XYZxyz(14.0226, 8.3828, 57.3674)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CCB #CBC738
analogous
#3886CB #383CCB #7D38CB
triadic
#383CCB #CB383C #3CCB38
tetradic
#383CCB #CB3886 #CBC738 #38CB7D
square
#383CCB #CB3886 #CBC738 #38CB7D
split-complementary
#383CCB #CB7D38 #86CB38
monochromatic
#1C1E6C #292C9D #383CCB #696CD8 #999BE4

Accessibility & contrast

On white

7.85
#383CCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#383CCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CCB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CCB#FFFFFF#000000##FFFFFF
##383CCB1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #383ccb;
/* rgb */ color: rgb(56, 60, 203);
/* oklch */ color: oklch(45.7% 0.214 272.8);
Tailwind
colors: {
  custom: {
    50: '#8473dc',
    500: '#383ccb',
    950: '#000000',
  },
}
SCSS
$custom: #383ccb;
$custom-light: #8473dc;
$custom-dark: #000000;
JSON
{
  "hex": "#383ccb",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 238.367,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45661,
    "c": 0.21433,
    "h": 272.8
  },
  "luminance": 0.08384
}

Semantic roles & 50–950 ramp

primary
#383CCB
secondary
#D0CE8F
accent
#DE46E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #383CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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