#383DA7#383DA7

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

Color values

HEX#383DA7
RGBrgb(56, 61, 167)
HSLhsl(237, 50%, 44%)
HSVhsv(237, 66%, 65%)
CMYKcmyk(66.5%, 63.5%, 0%, 34.5%)
CIE-LABlab(31.73, 32.42, -57.71)
CIE-LCHlch(31.73, 66.20, 299.33°)
OKLaboklab(42.46% 0.0136 -0.1664)
OKLCHoklch(42.46% 0.167 274.7)
XYZxyz(10.2724, 6.9674, 37.3552)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383DA7 #A7A238
analogous
#3874A7 #383DA7 #6A38A7
triadic
#383DA7 #A7383D #3DA738
tetradic
#383DA7 #A73874 #A7A238 #38A76A
square
#383DA7 #A73874 #A7A238 #38A76A
split-complementary
#383DA7 #A76A38 #74A738
monochromatic
#191C4B #292C79 #383DA7 #565BC6 #8487D6

Accessibility & contrast

On white

8.77
#383DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#383DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383DA7
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383DA7#FFFFFF#000000##FFFFFF
##383DA71.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383da7;
/* rgb */ color: rgb(56, 61, 167);
/* oklch */ color: oklch(42.5% 0.167 274.7);
Tailwind
colors: {
  custom: {
    50: '#7c72c2',
    500: '#383da7',
    950: '#000000',
  },
}
SCSS
$custom: #383da7;
$custom-light: #7c72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#383da7",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 237.297,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42463,
    "c": 0.16695,
    "h": 274.7
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#383DA7
secondary
#BFBC7B
accent
#D34FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #383DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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