#383199#383199

#383199 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.163 H 278.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#383199
RGBrgb(56, 49, 153)
HSLhsl(244, 51%, 40%)
HSVhsv(244, 68%, 60%)
CMYKcmyk(63.4%, 68%, 0%, 40%)
CIE-LABlab(27.67, 35.15, -55.87)
CIE-LCHlch(27.67, 66.01, 302.18°)
OKLaboklab(39.13% 0.0247 -0.161)
OKLCHoklch(39.13% 0.163 278.7)
XYZxyz(8.4771, 5.3366, 30.7142)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383199 #929931
analogous
#315E99 #383199 #6C3199
triadic
#383199 #993831 #319938
tetradic
#383199 #99315E #929931 #31996C
square
#383199 #99315E #929931 #31996C
split-complementary
#383199 #996C31 #5E9931
monochromatic
#16133C #27226B #383199 #4D44C3 #7972D2

Accessibility & contrast

On white

10.16
#383199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#383199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383199
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383199#FFFFFF#000000##FFFFFF
##3831991.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #383199;
/* rgb */ color: rgb(56, 49, 153);
/* oklch */ color: oklch(39.1% 0.163 278.7);
Tailwind
colors: {
  custom: {
    50: '#7a6ab8',
    500: '#383199',
    950: '#000000',
  },
}
SCSS
$custom: #383199;
$custom-light: #7a6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#383199",
  "rgb": {
    "r": 56,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 244.038,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39128,
    "c": 0.16293,
    "h": 278.7
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#383199
secondary
#B5BA6C
accent
#DB4DD1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #383199

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

Preview Lab → · Contrast checker → · Palette generator →

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