#383BB1#383BB1

#383BB1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.183 H 274.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#383BB1
RGBrgb(56, 59, 177)
HSLhsl(239, 52%, 46%)
HSVhsv(239, 68%, 69%)
CMYKcmyk(68.4%, 66.7%, 0%, 30.6%)
CIE-LABlab(32.13, 37.16, -63.05)
CIE-LCHlch(32.13, 73.18, 300.51°)
OKLaboklab(43.02% 0.0143 -0.182)
OKLCHoklch(43.02% 0.183 274.5)
XYZxyz(11.1280, 7.1420, 42.3785)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BB1 #B1AE38
analogous
#3878B1 #383BB1 #7138B1
triadic
#383BB1 #B1383B #3BB138
tetradic
#383BB1 #B13878 #B1AE38 #38B171
square
#383BB1 #B13878 #B1AE38 #38B171
split-complementary
#383BB1 #B17138 #78B138
monochromatic
#1B1C54 #292C83 #383BB1 #5B5ECB #8A8CDA

Accessibility & contrast

On white

8.65
#383BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#383BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BB1
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BB1#FFFFFF#000000##FFFFFF
##383BB11.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383bb1;
/* rgb */ color: rgb(56, 59, 177);
/* oklch */ color: oklch(43.0% 0.183 274.5);
Tailwind
colors: {
  custom: {
    50: '#7f71c9',
    500: '#383bb1',
    950: '#000000',
  },
}
SCSS
$custom: #383bb1;
$custom-light: #7f71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#383bb1",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 238.512,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4302,
    "c": 0.1826,
    "h": 274.5
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#383BB1
secondary
#C4C281
accent
#D84CDB
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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