#383497#383497

#383497 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.157 H 278.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#383497
RGBrgb(56, 52, 151)
HSLhsl(242, 49%, 40%)
HSVhsv(242, 66%, 59%)
CMYKcmyk(62.9%, 65.6%, 0%, 40.8%)
CIE-LABlab(28.20, 32.60, -53.79)
CIE-LCHlch(28.20, 62.90, 301.22°)
OKLaboklab(39.45% 0.0224 -0.1549)
OKLCHoklch(39.45% 0.157 278.2)
XYZxyz(8.4430, 5.5305, 29.8947)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383497 #939734
analogous
#346297 #383497 #693497
triadic
#383497 #973834 #349738
tetradic
#383497 #973462 #939734 #349769
square
#383497 #973462 #939734 #349769
split-complementary
#383497 #976934 #629734
monochromatic
#16153C #272469 #383497 #4D48C0 #7976D0

Accessibility & contrast

On white

9.97
#383497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#383497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383497
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383497#FFFFFF#000000##FFFFFF
##3834971.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383497;
/* rgb */ color: rgb(56, 52, 151);
/* oklch */ color: oklch(39.5% 0.157 278.2);
Tailwind
colors: {
  custom: {
    50: '#7a6cb6',
    500: '#383497',
    950: '#000000',
  },
}
SCSS
$custom: #383497;
$custom-light: #7a6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#383497",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 242.424,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.15655,
    "h": 278.2
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#383497
secondary
#B5B86F
accent
#D84FD3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #383497

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

Preview Lab → · Contrast checker → · Palette generator →

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