#383BA8#383BA8

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

Color values

HEX#383BA8
RGBrgb(56, 59, 168)
HSLhsl(238, 50%, 44%)
HSVhsv(238, 67%, 66%)
CMYKcmyk(66.7%, 64.9%, 0%, 34.1%)
CIE-LABlab(31.34, 34.04, -58.96)
CIE-LCHlch(31.34, 68.08, 300.00°)
OKLaboklab(42.2% 0.0151 -0.1701)
OKLCHoklch(42.2% 0.171 275.1)
XYZxyz(10.2604, 6.7949, 37.8090)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BA8 #A8A538
analogous
#3873A8 #383BA8 #6D38A8
triadic
#383BA8 #A8383B #3BA838
tetradic
#383BA8 #A83873 #A8A538 #38A86D
square
#383BA8 #A83873 #A8A538 #38A86D
split-complementary
#383BA8 #A86D38 #73A838
monochromatic
#191B4C #292B7A #383BA8 #5659C7 #8486D6

Accessibility & contrast

On white

8.90
#383BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#383BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BA8
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BA8#FFFFFF#000000##FFFFFF
##383BA81.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383ba8;
/* rgb */ color: rgb(56, 59, 168);
/* oklch */ color: oklch(42.2% 0.171 275.1);
Tailwind
colors: {
  custom: {
    50: '#7d71c3',
    500: '#383ba8',
    950: '#000000',
  },
}
SCSS
$custom: #383ba8;
$custom-light: #7d71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#383ba8",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 238.393,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.17075,
    "h": 275.1
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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