#383FAC#383FAC

#383FAC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.171 H 273.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#383FAC
RGBrgb(56, 63, 172)
HSLhsl(236, 51%, 45%)
HSVhsv(236, 67%, 67%)
CMYKcmyk(67.4%, 63.4%, 0%, 32.5%)
CIE-LABlab(32.64, 32.90, -59.22)
CIE-LCHlch(32.64, 67.75, 299.06°)
OKLaboklab(43.26% 0.0117 -0.1708)
OKLCHoklch(43.26% 0.171 273.9)
XYZxyz(10.8523, 7.3733, 39.8730)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FAC #ACA538
analogous
#3879AC #383FAC #6B38AC
triadic
#383FAC #AC383F #3FAC38
tetradic
#383FAC #AC3879 #ACA538 #38AC6B
square
#383FAC #AC3879 #ACA538 #38AC6B
split-complementary
#383FAC #AC6B38 #79AC38
monochromatic
#1A1D50 #292E7E #383FAC #585FC9 #878CD8

Accessibility & contrast

On white

8.49
#383FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#383FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FAC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FAC#FFFFFF#000000##FFFFFF
##383FAC1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #383fac;
/* rgb */ color: rgb(56, 63, 172);
/* oklch */ color: oklch(43.3% 0.171 273.9);
Tailwind
colors: {
  custom: {
    50: '#7d74c6',
    500: '#383fac',
    950: '#000000',
  },
}
SCSS
$custom: #383fac;
$custom-light: #7d74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#383fac",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 236.379,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.17121,
    "h": 273.9
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#383FAC
secondary
#C2BE7E
accent
#D24DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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