#383EA9#383EA9

#383EA9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.168 H 274.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#383EA9
RGBrgb(56, 62, 169)
HSLhsl(237, 50%, 44%)
HSVhsv(237, 67%, 66%)
CMYKcmyk(66.9%, 63.3%, 0%, 33.7%)
CIE-LABlab(32.15, 32.49, -58.24)
CIE-LCHlch(32.15, 66.69, 299.15°)
OKLaboklab(42.82% 0.0127 -0.1679)
OKLCHoklch(42.82% 0.168 274.3)
XYZxyz(10.5126, 7.1496, 38.3544)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EA9 #A9A338
analogous
#3877A9 #383EA9 #6B38A9
triadic
#383EA9 #A9383E #3EA938
tetradic
#383EA9 #A93877 #A9A338 #38A96B
square
#383EA9 #A93877 #A9A338 #38A96B
split-complementary
#383EA9 #A96B38 #77A938
monochromatic
#1A1C4D #292D7B #383EA9 #575DC7 #8589D7

Accessibility & contrast

On white

8.64
#383EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#383EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EA9
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EA9#FFFFFF#000000##FFFFFF
##383EA91.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383ea9;
/* rgb */ color: rgb(56, 62, 169);
/* oklch */ color: oklch(42.8% 0.168 274.3);
Tailwind
colors: {
  custom: {
    50: '#7d73c3',
    500: '#383ea9',
    950: '#000000',
  },
}
SCSS
$custom: #383ea9;
$custom-light: #7d73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#383ea9",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 236.814,
    "s": 50.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.16841,
    "h": 274.3
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#383EA9
secondary
#C0BD7C
accent
#D24EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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