#383BB2#383BB2

#383BB2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.184 H 274.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#383BB2
RGBrgb(56, 59, 178)
HSLhsl(239, 52%, 46%)
HSVhsv(239, 69%, 70%)
CMYKcmyk(68.5%, 66.9%, 0%, 30.2%)
CIE-LABlab(32.22, 37.50, -63.49)
CIE-LCHlch(32.22, 73.74, 300.57°)
OKLaboklab(43.11% 0.0142 -0.1834)
OKLCHoklch(43.11% 0.184 274.4)
XYZxyz(11.2281, 7.1820, 42.9054)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BB2 #B2AF38
analogous
#3878B2 #383BB2 #7238B2
triadic
#383BB2 #B2383B #3BB238
tetradic
#383BB2 #B23878 #B2AF38 #38B272
square
#383BB2 #B23878 #B2AF38 #38B272
split-complementary
#383BB2 #B27238 #78B238
monochromatic
#1B1C55 #292C83 #383BB2 #5C5ECC #8A8CDA

Accessibility & contrast

On white

8.62
#383BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#383BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BB2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BB2#FFFFFF#000000##FFFFFF
##383BB21.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383bb2;
/* rgb */ color: rgb(56, 59, 178);
/* oklch */ color: oklch(43.1% 0.184 274.4);
Tailwind
colors: {
  custom: {
    50: '#7f71ca',
    500: '#383bb2',
    950: '#000000',
  },
}
SCSS
$custom: #383bb2;
$custom-light: #7f71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#383bb2",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 238.525,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.1839,
    "h": 274.4
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#383BB2
secondary
#C5C381
accent
#D84CDC
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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