#383AA0#383AA0

#383AA0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.161 H 275.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#383AA0
RGBrgb(56, 58, 160)
HSLhsl(239, 48%, 42%)
HSVhsv(239, 65%, 63%)
CMYKcmyk(65%, 63.8%, 0%, 37.3%)
CIE-LABlab(30.41, 31.89, -55.65)
CIE-LCHlch(30.41, 64.14, 299.82°)
OKLaboklab(41.31% 0.0165 -0.1604)
OKLCHoklch(41.31% 0.161 275.9)
XYZxyz(9.4870, 6.4041, 33.9871)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AA0 #A09E38
analogous
#386EA0 #383AA0 #6A38A0
triadic
#383AA0 #A0383A #3AA038
tetradic
#383AA0 #A0386E #A09E38 #38A06A
square
#383AA0 #A0386E #A09E38 #38A06A
split-complementary
#383AA0 #A06A38 #6EA038
monochromatic
#181945 #282A73 #383AA0 #5355C3 #8081D3

Accessibility & contrast

On white

9.21
#383AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#383AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AA0
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AA0#FFFFFF#000000##FFFFFF
##383AA01.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #383aa0;
/* rgb */ color: rgb(56, 58, 160);
/* oklch */ color: oklch(41.3% 0.161 275.9);
Tailwind
colors: {
  custom: {
    50: '#7b70bd',
    500: '#383aa0',
    950: '#000000',
  },
}
SCSS
$custom: #383aa0;
$custom-light: #7b70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#383aa0",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 238.846,
    "s": 48.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.16122,
    "h": 275.9
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#383AA0
secondary
#BCBB78
accent
#D550D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #383AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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