#383BB5#383BB5

#383BB5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.188 H 274.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#383BB5
RGBrgb(56, 59, 181)
HSLhsl(239, 53%, 46%)
HSVhsv(239, 69%, 71%)
CMYKcmyk(69.1%, 67.4%, 0%, 29%)
CIE-LABlab(32.49, 38.53, -64.83)
CIE-LCHlch(32.49, 75.42, 300.72°)
OKLaboklab(43.39% 0.0139 -0.1873)
OKLCHoklch(43.39% 0.188 274.2)
XYZxyz(11.5326, 7.3038, 44.5091)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BB5 #B5B238
analogous
#387AB5 #383BB5 #7438B5
triadic
#383BB5 #B5383B #3BB538
tetradic
#383BB5 #B5387A #B5B238 #38B574
square
#383BB5 #B5387A #B5B238 #38B574
split-complementary
#383BB5 #B57438 #7AB538
monochromatic
#1B1D58 #2A2C86 #383BB5 #5D60CD #8C8EDB

Accessibility & contrast

On white

8.53
#383BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#383BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BB5
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BB5#FFFFFF#000000##FFFFFF
##383BB51.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383bb5;
/* rgb */ color: rgb(56, 59, 181);
/* oklch */ color: oklch(43.4% 0.188 274.2);
Tailwind
colors: {
  custom: {
    50: '#7f71cc',
    500: '#383bb5',
    950: '#000000',
  },
}
SCSS
$custom: #383bb5;
$custom-light: #7f71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#383bb5",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 238.56,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43393,
    "c": 0.18778,
    "h": 274.2
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#383BB5
secondary
#C6C483
accent
#D94CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #383BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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