#383FB8#383FB8

#383FB8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.187 H 273.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#383FB8
RGBrgb(56, 63, 184)
HSLhsl(237, 53%, 47%)
HSVhsv(237, 70%, 72%)
CMYKcmyk(69.6%, 65.8%, 0%, 27.8%)
CIE-LABlab(33.68, 37.09, -64.65)
CIE-LCHlch(33.68, 74.54, 299.84°)
OKLaboklab(44.34% 0.0108 -0.1867)
OKLCHoklch(44.34% 0.187 273.3)
XYZxyz(12.0572, 7.8553, 46.2189)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FB8 #B8B138
analogous
#387FB8 #383FB8 #7138B8
triadic
#383FB8 #B8383F #3FB838
tetradic
#383FB8 #B8387F #B8B138 #38B871
square
#383FB8 #B8387F #B8B138 #38B871
split-complementary
#383FB8 #B87138 #7FB838
monochromatic
#1B1F5A #2A2F89 #383FB8 #5F65CE #8E92DD

Accessibility & contrast

On white

8.17
#383FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#383FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FB8
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FB8#FFFFFF#000000##FFFFFF
##383FB81.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #383fb8;
/* rgb */ color: rgb(56, 63, 184);
/* oklch */ color: oklch(44.3% 0.187 273.3);
Tailwind
colors: {
  custom: {
    50: '#8074ce',
    500: '#383fb8',
    950: '#000000',
  },
}
SCSS
$custom: #383fb8;
$custom-light: #8074ce;
$custom-dark: #000000;
JSON
{
  "hex": "#383fb8",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 236.719,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44341,
    "c": 0.18704,
    "h": 273.3
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#383FB8
secondary
#C7C485
accent
#D54BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #383FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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