#383DCB#383DCB

#383DCB is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.8% C 0.213 H 272.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#383DCB
RGBrgb(56, 61, 203)
HSLhsl(238, 59%, 51%)
HSVhsv(238, 72%, 80%)
CMYKcmyk(72.4%, 70%, 0%, 20.4%)
CIE-LABlab(34.98, 44.79, -73.65)
CIE-LCHlch(34.98, 86.20, 301.30°)
OKLaboklab(45.81% 0.01 -0.213)
OKLCHoklch(45.81% 0.213 272.7)
XYZxyz(14.0755, 8.4886, 57.3850)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383DCB #CBC638
analogous
#3886CB #383DCB #7C38CB
triadic
#383DCB #CB383D #3DCB38
tetradic
#383DCB #CB3886 #CBC638 #38CB7C
square
#383DCB #CB3886 #CBC638 #38CB7C
split-complementary
#383DCB #CB7C38 #86CB38
monochromatic
#1C1F6C #292D9D #383DCB #696CD8 #999CE4

Accessibility & contrast

On white

7.78
#383DCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#383DCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383DCB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383DCB#FFFFFF#000000##FFFFFF
##383DCB1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.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: #383dcb;
/* rgb */ color: rgb(56, 61, 203);
/* oklch */ color: oklch(45.8% 0.213 272.7);
Tailwind
colors: {
  custom: {
    50: '#8473dc',
    500: '#383dcb',
    950: '#000000',
  },
}
SCSS
$custom: #383dcb;
$custom-light: #8473dc;
$custom-dark: #000000;
JSON
{
  "hex": "#383dcb",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 237.959,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45814,
    "c": 0.21328,
    "h": 272.7
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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