#383BA7#383BA7

#383BA7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.169 H 275.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#383BA7
RGBrgb(56, 59, 167)
HSLhsl(238, 50%, 44%)
HSVhsv(238, 66%, 65%)
CMYKcmyk(66.5%, 64.7%, 0%, 34.5%)
CIE-LABlab(31.25, 33.69, -58.50)
CIE-LCHlch(31.25, 67.51, 299.94°)
OKLaboklab(42.11% 0.0152 -0.1687)
OKLCHoklch(42.11% 0.169 275.1)
XYZxyz(10.1676, 6.7578, 37.3203)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BA7 #A7A438
analogous
#3872A7 #383BA7 #6C38A7
triadic
#383BA7 #A7383B #3BA738
tetradic
#383BA7 #A73872 #A7A438 #38A76C
square
#383BA7 #A73872 #A7A438 #38A76C
split-complementary
#383BA7 #A76C38 #72A738
monochromatic
#191B4B #292B79 #383BA7 #5659C6 #8486D6

Accessibility & contrast

On white

8.93
#383BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#383BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BA7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BA7#FFFFFF#000000##FFFFFF
##383BA71.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383ba7;
/* rgb */ color: rgb(56, 59, 167);
/* oklch */ color: oklch(42.1% 0.169 275.1);
Tailwind
colors: {
  custom: {
    50: '#7c71c2',
    500: '#383ba7',
    950: '#000000',
  },
}
SCSS
$custom: #383ba7;
$custom-light: #7c71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#383ba7",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 238.378,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42109,
    "c": 0.16941,
    "h": 275.1
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#383BA7
secondary
#BFBE7B
accent
#D64FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #383BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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