#383299#383299

#383299 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.162 H 278.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#383299
RGBrgb(56, 50, 153)
HSLhsl(243, 51%, 40%)
HSVhsv(243, 67%, 60%)
CMYKcmyk(63.4%, 67.3%, 0%, 40%)
CIE-LABlab(27.90, 34.53, -55.49)
CIE-LCHlch(27.90, 65.36, 301.89°)
OKLaboklab(39.29% 0.0239 -0.1599)
OKLCHoklch(39.29% 0.162 278.5)
XYZxyz(8.5194, 5.4212, 30.7283)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383299 #939932
analogous
#326099 #383299 #6B3299
triadic
#383299 #993832 #329938
tetradic
#383299 #993260 #939932 #32996B
square
#383299 #993260 #939932 #32996B
split-complementary
#383299 #996B32 #609932
monochromatic
#16143D #27236B #383299 #4D46C2 #7974D2

Accessibility & contrast

On white

10.07
#383299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#383299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383299
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383299#FFFFFF#000000##FFFFFF
##3832991.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #383299;
/* rgb */ color: rgb(56, 50, 153);
/* oklch */ color: oklch(39.3% 0.162 278.5);
Tailwind
colors: {
  custom: {
    50: '#7a6ab8',
    500: '#383299',
    950: '#000000',
  },
}
SCSS
$custom: #383299;
$custom-light: #7a6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#383299",
  "rgb": {
    "r": 56,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 243.495,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39294,
    "c": 0.16171,
    "h": 278.5
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#383299
secondary
#B5BA6D
accent
#DA4ED2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #383299

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

Preview Lab → · Contrast checker → · Palette generator →

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