#383BA9#383BA9

#383BA9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.172 H 275.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#383BA9
RGBrgb(56, 59, 169)
HSLhsl(238, 50%, 44%)
HSVhsv(238, 67%, 66%)
CMYKcmyk(66.9%, 65.1%, 0%, 33.7%)
CIE-LABlab(31.42, 34.39, -59.42)
CIE-LCHlch(31.42, 68.65, 300.06°)
OKLaboklab(42.29% 0.015 -0.1714)
OKLCHoklch(42.29% 0.172 275)
XYZxyz(10.3539, 6.8323, 38.3016)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BA9 #A9A638
analogous
#3874A9 #383BA9 #6E38A9
triadic
#383BA9 #A9383B #3BA938
tetradic
#383BA9 #A93874 #A9A638 #38A96E
square
#383BA9 #A93874 #A9A638 #38A96E
split-complementary
#383BA9 #A96E38 #74A938
monochromatic
#1A1B4D #292B7B #383BA9 #575AC7 #8587D7

Accessibility & contrast

On white

8.87
#383BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#383BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BA9
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BA9#FFFFFF#000000##FFFFFF
##383BA91.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383ba9;
/* rgb */ color: rgb(56, 59, 169);
/* oklch */ color: oklch(42.3% 0.172 275.0);
Tailwind
colors: {
  custom: {
    50: '#7d71c4',
    500: '#383ba9',
    950: '#000000',
  },
}
SCSS
$custom: #383ba9;
$custom-light: #7d71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#383ba9",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 238.407,
    "s": 50.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.17208,
    "h": 275
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#383BA9
secondary
#C0BF7C
accent
#D64EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #383BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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