#383FA8#383FA8

#383FA8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.166 H 274.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#383FA8
RGBrgb(56, 63, 168)
HSLhsl(236, 50%, 44%)
HSVhsv(236, 67%, 66%)
CMYKcmyk(66.7%, 62.5%, 0%, 34.1%)
CIE-LABlab(32.31, 31.49, -57.38)
CIE-LCHlch(32.31, 65.45, 298.76°)
OKLaboklab(42.91% 0.0119 -0.1654)
OKLCHoklch(42.91% 0.166 274.1)
XYZxyz(10.4739, 7.2220, 37.8802)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FA8 #A8A138
analogous
#3877A8 #383FA8 #6938A8
triadic
#383FA8 #A8383F #3FA838
tetradic
#383FA8 #A83877 #A8A138 #38A869
square
#383FA8 #A83877 #A8A138 #38A869
split-complementary
#383FA8 #A86938 #77A838
monochromatic
#191D4C #292E7A #383FA8 #565DC7 #8489D6

Accessibility & contrast

On white

8.59
#383FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#383FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FA8
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FA8#FFFFFF#000000##FFFFFF
##383FA81.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383fa8;
/* rgb */ color: rgb(56, 63, 168);
/* oklch */ color: oklch(42.9% 0.166 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c74c3',
    500: '#383fa8',
    950: '#000000',
  },
}
SCSS
$custom: #383fa8;
$custom-light: #7c74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#383fa8",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 236.25,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42911,
    "c": 0.16582,
    "h": 274.1
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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