#383F91#383F91

#383F91 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.134 H 275.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#383F91
RGBrgb(56, 63, 145)
HSLhsl(235, 44%, 39%)
HSVhsv(235, 61%, 57%)
CMYKcmyk(61.4%, 56.6%, 0%, 43.1%)
CIE-LABlab(30.50, 23.34, -46.38)
CIE-LCHlch(30.50, 51.92, 296.72°)
OKLaboklab(41% 0.012 -0.1331)
OKLCHoklch(41% 0.134 275.2)
XYZxyz(8.5176, 6.4394, 27.5767)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383F91 #918A38
analogous
#386C91 #383F91 #5E3891
triadic
#383F91 #91383F #3F9138
tetradic
#383F91 #91386C #918A38 #38915E
square
#383F91 #91386C #918A38 #38915E
split-complementary
#383F91 #915E38 #6C9138
monochromatic
#161939 #272C65 #383F91 #4C55BA #787FCB

Accessibility & contrast

On white

9.18
#383F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#383F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383F91
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383F91#FFFFFF#000000##FFFFFF
##383F911.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014C94
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #383f91;
/* rgb */ color: rgb(56, 63, 145);
/* oklch */ color: oklch(41.0% 0.134 275.2);
Tailwind
colors: {
  custom: {
    50: '#7874b2',
    500: '#383f91',
    950: '#000000',
  },
}
SCSS
$custom: #383f91;
$custom-light: #7874b2;
$custom-dark: #000000;
JSON
{
  "hex": "#383f91",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 235.281,
    "s": 44.279,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40999,
    "c": 0.1336,
    "h": 275.2
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#383F91
secondary
#B4AF71
accent
#CA54D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #383F91

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

Preview Lab → · Contrast checker → · Palette generator →

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