#383ECA#383ECA

#383ECA is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.9% C 0.211 H 272.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#383ECA
RGBrgb(56, 62, 202)
HSLhsl(238, 58%, 51%)
HSVhsv(238, 72%, 79%)
CMYKcmyk(72.3%, 69.3%, 0%, 20.8%)
CIE-LABlab(35.10, 43.86, -72.87)
CIE-LCHlch(35.10, 85.06, 301.04°)
OKLaboklab(45.87% 0.0096 -0.2108)
OKLCHoklch(45.87% 0.211 272.6)
XYZxyz(14.0106, 8.5489, 56.7774)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383ECA #CAC438
analogous
#3887CA #383ECA #7B38CA
triadic
#383ECA #CA383E #3ECA38
tetradic
#383ECA #CA3887 #CAC438 #38CA7B
square
#383ECA #CA3887 #CAC438 #38CA7B
split-complementary
#383ECA #CA7B38 #87CA38
monochromatic
#1D206B #292E9B #383ECA #686DD7 #999CE4

Accessibility & contrast

On white

7.75
#383ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#383ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383ECA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383ECA#FFFFFF#000000##FFFFFF
##383ECA1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#004CC7
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #383eca;
/* rgb */ color: rgb(56, 62, 202);
/* oklch */ color: oklch(45.9% 0.211 272.6);
Tailwind
colors: {
  custom: {
    50: '#8474db',
    500: '#383eca',
    950: '#000000',
  },
}
SCSS
$custom: #383eca;
$custom-light: #8474db;
$custom-dark: #000000;
JSON
{
  "hex": "#383eca",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 237.534,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.21099,
    "h": 272.6
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#383ECA
secondary
#CFCD8E
accent
#DB47E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #383ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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