#383FB4#383FB4

#383FB4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.182 H 273.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#383FB4
RGBrgb(56, 63, 180)
HSLhsl(237, 53%, 46%)
HSVhsv(237, 69%, 71%)
CMYKcmyk(68.9%, 65%, 0%, 29.4%)
CIE-LABlab(33.33, 35.70, -62.86)
CIE-LCHlch(33.33, 72.29, 299.60°)
OKLaboklab(43.98% 0.0112 -0.1815)
OKLCHoklch(43.98% 0.182 273.5)
XYZxyz(11.6439, 7.6900, 44.0418)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FB4 #B4AD38
analogous
#387DB4 #383FB4 #6F38B4
triadic
#383FB4 #B4383F #3FB438
tetradic
#383FB4 #B4387D #B4AD38 #38B46F
square
#383FB4 #B4387D #B4AD38 #38B46F
split-complementary
#383FB4 #B46F38 #7DB438
monochromatic
#1B1E57 #292F85 #383FB4 #5D63CD #8B90DB

Accessibility & contrast

On white

8.27
#383FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#383FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FB4
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FB4#FFFFFF#000000##FFFFFF
##383FB41.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #383fb4;
/* rgb */ color: rgb(56, 63, 180);
/* oklch */ color: oklch(44.0% 0.182 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f74cb',
    500: '#383fb4',
    950: '#000000',
  },
}
SCSS
$custom: #383fb4;
$custom-light: #7f74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#383fb4",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 236.613,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.18182,
    "h": 273.5
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#383FB4
secondary
#C5C282
accent
#D44CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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