#383AAA#383AAA

#383AAA is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.175 H 275.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#383AAA
RGBrgb(56, 58, 170)
HSLhsl(239, 50%, 44%)
HSVhsv(239, 67%, 67%)
CMYKcmyk(67.1%, 65.9%, 0%, 33.3%)
CIE-LABlab(31.27, 35.36, -60.26)
CIE-LCHlch(31.27, 69.87, 300.41°)
OKLaboklab(42.21% 0.0157 -0.1739)
OKLCHoklch(42.21% 0.175 275.2)
XYZxyz(10.3973, 6.7682, 38.7809)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AAA #AAA838
analogous
#3873AA #383AAA #6F38AA
triadic
#383AAA #AA383A #3AAA38
tetradic
#383AAA #AA3873 #AAA838 #38AA6F
square
#383AAA #AA3873 #AAA838 #38AA6F
split-complementary
#383AAA #AA6F38 #73AA38
monochromatic
#1A1B4E #292A7C #383AAA #5759C8 #8587D7

Accessibility & contrast

On white

8.92
#383AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#383AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AAA
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AAA#FFFFFF#000000##FFFFFF
##383AAA1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383aaa;
/* rgb */ color: rgb(56, 58, 170);
/* oklch */ color: oklch(42.2% 0.175 275.2);
Tailwind
colors: {
  custom: {
    50: '#7d70c4',
    500: '#383aaa',
    950: '#000000',
  },
}
SCSS
$custom: #383aaa;
$custom-light: #7d70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#383aaa",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 238.947,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42207,
    "c": 0.17461,
    "h": 275.2
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#383AAA
secondary
#C1C07D
accent
#D74EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #383AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#383AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva