#383AA3#383AA3

#383AA3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.165 H 275.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#383AA3
RGBrgb(56, 58, 163)
HSLhsl(239, 49%, 43%)
HSVhsv(239, 66%, 64%)
CMYKcmyk(65.6%, 64.4%, 0%, 36.1%)
CIE-LABlab(30.67, 32.94, -57.05)
CIE-LCHlch(30.67, 65.87, 300.00°)
OKLaboklab(41.58% 0.0163 -0.1645)
OKLCHoklch(41.58% 0.165 275.7)
XYZxyz(9.7526, 6.5104, 35.3859)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AA3 #A3A138
analogous
#386FA3 #383AA3 #6C38A3
triadic
#383AA3 #A3383A #3AA338
tetradic
#383AA3 #A3386F #A3A138 #38A36C
square
#383AA3 #A3386F #A3A138 #38A36C
split-complementary
#383AA3 #A36C38 #6FA338
monochromatic
#191A48 #282A75 #383AA3 #5456C4 #8283D4

Accessibility & contrast

On white

9.12
#383AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#383AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AA3
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AA3#FFFFFF#000000##FFFFFF
##383AA31.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #383aa3;
/* rgb */ color: rgb(56, 58, 163);
/* oklch */ color: oklch(41.6% 0.165 275.7);
Tailwind
colors: {
  custom: {
    50: '#7c70bf',
    500: '#383aa3',
    950: '#000000',
  },
}
SCSS
$custom: #383aa3;
$custom-light: #7c70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#383aa3",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 238.879,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.16528,
    "h": 275.7
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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