#383EA5#383EA5

#383EA5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.163 H 274.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#383EA5
RGBrgb(56, 62, 165)
HSLhsl(237, 49%, 43%)
HSVhsv(237, 66%, 65%)
CMYKcmyk(66.1%, 62.4%, 0%, 35.3%)
CIE-LABlab(31.81, 31.08, -56.38)
CIE-LCHlch(31.81, 64.38, 298.86°)
OKLaboklab(42.47% 0.0129 -0.1625)
OKLCHoklch(42.47% 0.163 274.5)
XYZxyz(10.1428, 7.0017, 36.4070)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EA5 #A59F38
analogous
#3874A5 #383EA5 #6838A5
triadic
#383EA5 #A5383E #3EA538
tetradic
#383EA5 #A53874 #A59F38 #38A568
square
#383EA5 #A53874 #A59F38 #38A568
split-complementary
#383EA5 #A56838 #74A538
monochromatic
#191C4A #282D77 #383EA5 #555BC5 #8387D5

Accessibility & contrast

On white

8.75
#383EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#383EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EA5
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EA5#FFFFFF#000000##FFFFFF
##383EA51.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383ea5;
/* rgb */ color: rgb(56, 62, 165);
/* oklch */ color: oklch(42.5% 0.163 274.5);
Tailwind
colors: {
  custom: {
    50: '#7c73c1',
    500: '#383ea5',
    950: '#000000',
  },
}
SCSS
$custom: #383ea5;
$custom-light: #7c73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#383ea5",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 236.697,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42469,
    "c": 0.163,
    "h": 274.5
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#383EA5
secondary
#BEBB7A
accent
#D14FD9
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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