#383EA0#383EA0

#383EA0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.156 H 274.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#383EA0
RGBrgb(56, 62, 160)
HSLhsl(237, 48%, 42%)
HSVhsv(237, 65%, 63%)
CMYKcmyk(65%, 61.2%, 0%, 37.3%)
CIE-LABlab(31.40, 29.32, -54.04)
CIE-LCHlch(31.40, 61.48, 298.48°)
OKLaboklab(42.04% 0.013 -0.1556)
OKLCHoklch(42.04% 0.156 274.8)
XYZxyz(9.6966, 6.8232, 34.0569)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EA0 #A09A38
analogous
#3872A0 #383EA0 #6638A0
triadic
#383EA0 #A0383E #3EA038
tetradic
#383EA0 #A03872 #A09A38 #38A066
square
#383EA0 #A03872 #A09A38 #38A066
split-complementary
#383EA0 #A06638 #72A038
monochromatic
#181B45 #282C73 #383EA0 #5359C3 #8085D3

Accessibility & contrast

On white

8.88
#383EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#383EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EA0
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EA0#FFFFFF#000000##FFFFFF
##383EA01.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383ea0;
/* rgb */ color: rgb(56, 62, 160);
/* oklch */ color: oklch(42.0% 0.156 274.8);
Tailwind
colors: {
  custom: {
    50: '#7b73bd',
    500: '#383ea0',
    950: '#000000',
  },
}
SCSS
$custom: #383ea0;
$custom-light: #7b73bd;
$custom-dark: #000000;
JSON
{
  "hex": "#383ea0",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 236.538,
    "s": 48.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42039,
    "c": 0.15613,
    "h": 274.8
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#383EA0
secondary
#BCB878
accent
#D050D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #383EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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