#383BB4#383BB4

#383BB4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.186 H 274.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#383BB4
RGBrgb(56, 59, 180)
HSLhsl(239, 53%, 46%)
HSVhsv(239, 69%, 71%)
CMYKcmyk(68.9%, 67.2%, 0%, 29.4%)
CIE-LABlab(32.40, 38.19, -64.39)
CIE-LCHlch(32.40, 74.86, 300.67°)
OKLaboklab(43.3% 0.014 -0.186)
OKLCHoklch(43.3% 0.186 274.3)
XYZxyz(11.4303, 7.2629, 43.9707)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BB4 #B4B138
analogous
#3879B4 #383BB4 #7338B4
triadic
#383BB4 #B4383B #3BB438
tetradic
#383BB4 #B43879 #B4B138 #38B473
square
#383BB4 #B43879 #B4B138 #38B473
split-complementary
#383BB4 #B47338 #79B438
monochromatic
#1B1C57 #292C85 #383BB4 #5D5FCD #8B8DDB

Accessibility & contrast

On white

8.56
#383BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#383BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BB4
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BB4#FFFFFF#000000##FFFFFF
##383BB41.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383bb4;
/* rgb */ color: rgb(56, 59, 180);
/* oklch */ color: oklch(43.3% 0.186 274.3);
Tailwind
colors: {
  custom: {
    50: '#7f71cc',
    500: '#383bb4',
    950: '#000000',
  },
}
SCSS
$custom: #383bb4;
$custom-light: #7f71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#383bb4",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 238.548,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43299,
    "c": 0.18649,
    "h": 274.3
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#383BB4
secondary
#C5C482
accent
#D84CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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