#383BA3#383BA3

#383BA3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.164 H 275.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#383BA3
RGBrgb(56, 59, 163)
HSLhsl(238, 49%, 43%)
HSVhsv(238, 66%, 64%)
CMYKcmyk(65.6%, 63.8%, 0%, 36.1%)
CIE-LABlab(30.91, 32.30, -56.65)
CIE-LCHlch(30.91, 65.21, 299.69°)
OKLaboklab(41.75% 0.0155 -0.1633)
OKLCHoklch(41.75% 0.164 275.4)
XYZxyz(9.8035, 6.6122, 35.4029)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BA3 #A3A038
analogous
#3870A3 #383BA3 #6B38A3
triadic
#383BA3 #A3383B #3BA338
tetradic
#383BA3 #A33870 #A3A038 #38A36B
square
#383BA3 #A33870 #A3A038 #38A36B
split-complementary
#383BA3 #A36B38 #70A338
monochromatic
#191A48 #282B75 #383BA3 #5457C4 #8284D4

Accessibility & contrast

On white

9.04
#383BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#383BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BA3
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BA3#FFFFFF#000000##FFFFFF
##383BA31.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383ba3;
/* rgb */ color: rgb(56, 59, 163);
/* oklch */ color: oklch(41.8% 0.164 275.4);
Tailwind
colors: {
  custom: {
    50: '#7c71bf',
    500: '#383ba3',
    950: '#000000',
  },
}
SCSS
$custom: #383ba3;
$custom-light: #7c71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#383ba3",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 238.318,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41753,
    "c": 0.16403,
    "h": 275.4
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#383BA3
secondary
#BDBC79
accent
#D54FD8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #383BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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