#383597#383597

#383597 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.155 H 278.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#383597
RGBrgb(56, 53, 151)
HSLhsl(242, 48%, 40%)
HSVhsv(242, 65%, 59%)
CMYKcmyk(62.9%, 64.9%, 0%, 40.8%)
CIE-LABlab(28.43, 31.96, -53.40)
CIE-LCHlch(28.43, 62.23, 300.90°)
OKLaboklab(39.63% 0.0215 -0.1538)
OKLCHoklch(39.63% 0.155 278)
XYZxyz(8.4881, 5.6207, 29.9098)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383597 #949735
analogous
#356397 #383597 #693597
triadic
#383597 #973835 #359738
tetradic
#383597 #973563 #949735 #359769
square
#383597 #973563 #949735 #359769
split-complementary
#383597 #976935 #639735
monochromatic
#16153C #27256A #383597 #4D4ABF #7A77CF

Accessibility & contrast

On white

9.89
#383597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#383597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383597
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383597#FFFFFF#000000##FFFFFF
##3835971.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #383597;
/* rgb */ color: rgb(56, 53, 151);
/* oklch */ color: oklch(39.6% 0.155 278.0);
Tailwind
colors: {
  custom: {
    50: '#7a6cb6',
    500: '#383597',
    950: '#000000',
  },
}
SCSS
$custom: #383597;
$custom-light: #7a6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#383597",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 241.837,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.39627,
    "c": 0.15529,
    "h": 278
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#383597
secondary
#B6B870
accent
#D850D3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #383597

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

Preview Lab → · Contrast checker → · Palette generator →

#383597 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva