#383E91#383E91

#383E91 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.135 H 275.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#383E91
RGBrgb(56, 62, 145)
HSLhsl(236, 44%, 39%)
HSVhsv(236, 61%, 57%)
CMYKcmyk(61.4%, 57.2%, 0%, 43.1%)
CIE-LABlab(30.23, 24.00, -46.80)
CIE-LCHlch(30.23, 52.60, 297.15°)
OKLaboklab(40.8% 0.013 -0.1343)
OKLCHoklch(40.8% 0.135 275.5)
XYZxyz(8.4627, 6.3297, 27.5584)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383E91 #918B38
analogous
#386B91 #383E91 #5F3891
triadic
#383E91 #91383E #3E9138
tetradic
#383E91 #91386B #918B38 #38915F
square
#383E91 #91386B #918B38 #38915F
split-complementary
#383E91 #915F38 #6B9138
monochromatic
#161839 #272B65 #383E91 #4C54BA #787ECB

Accessibility & contrast

On white

9.27
#383E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#383E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383E91
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383E91#FFFFFF#000000##FFFFFF
##383E911.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #383e91;
/* rgb */ color: rgb(56, 62, 145);
/* oklch */ color: oklch(40.8% 0.135 275.5);
Tailwind
colors: {
  custom: {
    50: '#7873b2',
    500: '#383e91',
    950: '#000000',
  },
}
SCSS
$custom: #383e91;
$custom-light: #7873b2;
$custom-dark: #000000;
JSON
{
  "hex": "#383e91",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 235.955,
    "s": 44.279,
    "l": 39.412
  },
  "oklch": {
    "l": 0.408,
    "c": 0.13496,
    "h": 275.5
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#383E91
secondary
#B4B071
accent
#CB54D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #383E91

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

Preview Lab → · Contrast checker → · Palette generator →

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