#383BAC#383BAC

#383BAC is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.176 H 274.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#383BAC
RGBrgb(56, 59, 172)
HSLhsl(238, 51%, 45%)
HSVhsv(238, 67%, 67%)
CMYKcmyk(67.4%, 65.7%, 0%, 32.5%)
CIE-LABlab(31.68, 35.43, -60.79)
CIE-LCHlch(31.68, 70.36, 300.24°)
OKLaboklab(42.56% 0.0148 -0.1754)
OKLCHoklch(42.56% 0.176 274.8)
XYZxyz(10.6388, 6.9463, 39.8018)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BAC #ACA938
analogous
#3875AC #383BAC #6F38AC
triadic
#383BAC #AC383B #3BAC38
tetradic
#383BAC #AC3875 #ACA938 #38AC6F
square
#383BAC #AC3875 #ACA938 #38AC6F
split-complementary
#383BAC #AC6F38 #75AC38
monochromatic
#1A1B50 #292B7E #383BAC #585BC9 #8789D8

Accessibility & contrast

On white

8.79
#383BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#383BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BAC
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BAC#FFFFFF#000000##FFFFFF
##383BAC1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383bac;
/* rgb */ color: rgb(56, 59, 172);
/* oklch */ color: oklch(42.6% 0.176 274.8);
Tailwind
colors: {
  custom: {
    50: '#7e71c6',
    500: '#383bac',
    950: '#000000',
  },
}
SCSS
$custom: #383bac;
$custom-light: #7e71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#383bac",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 238.448,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42561,
    "c": 0.17605,
    "h": 274.8
  },
  "luminance": 0.06947
}

Semantic roles & 50–950 ramp

primary
#383BAC
secondary
#C2C07E
accent
#D74DDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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