#383498#383498

#383498 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.158 H 278.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#383498
RGBrgb(56, 52, 152)
HSLhsl(242, 49%, 40%)
HSVhsv(242, 66%, 60%)
CMYKcmyk(63.2%, 65.8%, 0%, 40.4%)
CIE-LABlab(28.28, 32.94, -54.26)
CIE-LCHlch(28.28, 63.48, 301.26°)
OKLaboklab(39.54% 0.0223 -0.1563)
OKLCHoklch(39.54% 0.158 278.1)
XYZxyz(8.5246, 5.5631, 30.3242)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383498 #949834
analogous
#346298 #383498 #6A3498
triadic
#383498 #983834 #349838
tetradic
#383498 #983462 #949834 #34986A
square
#383498 #983462 #949834 #34986A
split-complementary
#383498 #986A34 #629834
monochromatic
#16153D #27246A #383498 #4D49C1 #7A76D0

Accessibility & contrast

On white

9.94
#383498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383498
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383498#FFFFFF#000000##FFFFFF
##3834981.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383498;
/* rgb */ color: rgb(56, 52, 152);
/* oklch */ color: oklch(39.5% 0.158 278.1);
Tailwind
colors: {
  custom: {
    50: '#7a6cb7',
    500: '#383498',
    950: '#000000',
  },
}
SCSS
$custom: #383498;
$custom-light: #7a6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#383498",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 242.4,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.39543,
    "c": 0.15789,
    "h": 278.1
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#383498
secondary
#B6B96F
accent
#D94FD3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #383498

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

Preview Lab → · Contrast checker → · Palette generator →

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