#383FA9#383FA9

#383FA9 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.167 H 274.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#383FA9
RGBrgb(56, 63, 169)
HSLhsl(236, 50%, 44%)
HSVhsv(236, 67%, 66%)
CMYKcmyk(66.9%, 62.7%, 0%, 33.7%)
CIE-LABlab(32.39, 31.85, -57.84)
CIE-LCHlch(32.39, 66.03, 298.84°)
OKLaboklab(43% 0.0118 -0.1667)
OKLCHoklch(43% 0.167 274.1)
XYZxyz(10.5674, 7.2594, 38.3727)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FA9 #A9A238
analogous
#3878A9 #383FA9 #6A38A9
triadic
#383FA9 #A9383F #3FA938
tetradic
#383FA9 #A93878 #A9A238 #38A96A
square
#383FA9 #A93878 #A9A238 #38A96A
split-complementary
#383FA9 #A96A38 #78A938
monochromatic
#1A1D4D #292E7B #383FA9 #575EC7 #858AD7

Accessibility & contrast

On white

8.56
#383FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#383FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FA9
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FA9#FFFFFF#000000##FFFFFF
##383FA91.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383fa9;
/* rgb */ color: rgb(56, 63, 169);
/* oklch */ color: oklch(43.0% 0.167 274.1);
Tailwind
colors: {
  custom: {
    50: '#7d74c3',
    500: '#383fa9',
    950: '#000000',
  },
}
SCSS
$custom: #383fa9;
$custom-light: #7d74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#383fa9",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 236.283,
    "s": 50.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42998,
    "c": 0.16717,
    "h": 274.1
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#383FA9
secondary
#C0BC7C
accent
#D14EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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