#383EB4#383EB4

#383EB4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.183 H 273.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#383EB4
RGBrgb(56, 62, 180)
HSLhsl(237, 53%, 46%)
HSVhsv(237, 69%, 71%)
CMYKcmyk(68.9%, 65.6%, 0%, 29.4%)
CIE-LABlab(33.09, 36.33, -63.25)
CIE-LCHlch(33.09, 72.94, 299.87°)
OKLaboklab(43.8% 0.0119 -0.1826)
OKLCHoklch(43.8% 0.183 273.7)
XYZxyz(11.5890, 7.5802, 44.0236)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EB4 #B4AE38
analogous
#387CB4 #383EB4 #7038B4
triadic
#383EB4 #B4383E #3EB438
tetradic
#383EB4 #B4387C #B4AE38 #38B470
square
#383EB4 #B4387C #B4AE38 #38B470
split-complementary
#383EB4 #B47038 #7CB438
monochromatic
#1B1E57 #292E85 #383EB4 #5D62CD #8B8FDB

Accessibility & contrast

On white

8.35
#383EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#383EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EB4
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EB4#FFFFFF#000000##FFFFFF
##383EB41.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383eb4;
/* rgb */ color: rgb(56, 62, 180);
/* oklch */ color: oklch(43.8% 0.183 273.7);
Tailwind
colors: {
  custom: {
    50: '#7f73cb',
    500: '#383eb4',
    950: '#000000',
  },
}
SCSS
$custom: #383eb4;
$custom-light: #7f73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#383eb4",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 237.097,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.18301,
    "h": 273.7
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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