#383FC2#383FC2

#383FC2 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.3% C 0.200 H 272.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#383FC2
RGBrgb(56, 63, 194)
HSLhsl(237, 55%, 49%)
HSVhsv(237, 71%, 76%)
CMYKcmyk(71.1%, 67.5%, 0%, 23.9%)
CIE-LABlab(34.58, 40.54, -69.06)
CIE-LCHlch(34.58, 80.08, 300.42°)
OKLaboklab(45.27% 0.0099 -0.1996)
OKLCHoklch(45.27% 0.2 272.8)
XYZxyz(13.1427, 8.2895, 51.9359)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FC2 #C2BB38
analogous
#3884C2 #383FC2 #7638C2
triadic
#383FC2 #C2383F #3FC238
tetradic
#383FC2 #C23884 #C2BB38 #38C276
square
#383FC2 #C23884 #C2BB38 #38C276
split-complementary
#383FC2 #C27638 #84C238
monochromatic
#1D2063 #2A3093 #383FC2 #656AD2 #9498E0

Accessibility & contrast

On white

7.90
#383FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#383FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FC2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FC2#FFFFFF#000000##FFFFFF
##383FC21.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #383fc2;
/* rgb */ color: rgb(56, 63, 194);
/* oklch */ color: oklch(45.3% 0.200 272.8);
Tailwind
colors: {
  custom: {
    50: '#8274d6',
    500: '#383fc2',
    950: '#000000',
  },
}
SCSS
$custom: #383fc2;
$custom-light: #8274d6;
$custom-dark: #000000;
JSON
{
  "hex": "#383fc2",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 236.957,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45269,
    "c": 0.19987,
    "h": 272.8
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#383FC2
secondary
#CBC88A
accent
#D749DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #383FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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