#383F97#383F97

#383F97 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.142 H 274.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#383F97
RGBrgb(56, 63, 151)
HSLhsl(236, 46%, 41%)
HSVhsv(236, 63%, 59%)
CMYKcmyk(62.9%, 58.3%, 0%, 40.8%)
CIE-LABlab(30.95, 25.47, -49.31)
CIE-LCHlch(30.95, 55.50, 297.32°)
OKLaboklab(41.48% 0.0122 -0.1417)
OKLCHoklch(41.48% 0.142 274.9)
XYZxyz(8.9925, 6.6294, 30.0779)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383F97 #979038
analogous
#386E97 #383F97 #603897
triadic
#383F97 #97383F #3F9738
tetradic
#383F97 #97386E #979038 #389760
square
#383F97 #97386E #979038 #389760
split-complementary
#383F97 #976038 #6E9738
monochromatic
#171A3E #272C6A #383F97 #4F57BE #7B81CE

Accessibility & contrast

On white

9.03
#383F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#383F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383F97
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383F97#FFFFFF#000000##FFFFFF
##383F971.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383f97;
/* rgb */ color: rgb(56, 63, 151);
/* oklch */ color: oklch(41.5% 0.142 274.9);
Tailwind
colors: {
  custom: {
    50: '#7974b6',
    500: '#383f97',
    950: '#000000',
  },
}
SCSS
$custom: #383f97;
$custom-light: #7974b6;
$custom-dark: #000000;
JSON
{
  "hex": "#383f97",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 235.579,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4148,
    "c": 0.14221,
    "h": 274.9
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#383F97
secondary
#B7B273
accent
#CC52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #383F97

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

Preview Lab → · Contrast checker → · Palette generator →

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