#383FA0#383FA0

#383FA0 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.155 H 274.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#383FA0
RGBrgb(56, 63, 160)
HSLhsl(236, 48%, 42%)
HSVhsv(236, 65%, 63%)
CMYKcmyk(65%, 60.6%, 0%, 37.3%)
CIE-LABlab(31.65, 28.67, -53.62)
CIE-LCHlch(31.65, 60.81, 298.13°)
OKLaboklab(42.23% 0.0121 -0.1544)
OKLCHoklch(42.23% 0.155 274.5)
XYZxyz(9.7515, 6.9330, 34.0752)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FA0 #A09938
analogous
#3873A0 #383FA0 #6538A0
triadic
#383FA0 #A0383F #3FA038
tetradic
#383FA0 #A03873 #A09938 #38A065
square
#383FA0 #A03873 #A09938 #38A065
split-complementary
#383FA0 #A06538 #73A038
monochromatic
#181B45 #282D73 #383FA0 #535AC3 #8085D3

Accessibility & contrast

On white

8.80
#383FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#383FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FA0
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FA0#FFFFFF#000000##FFFFFF
##383FA01.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #383fa0;
/* rgb */ color: rgb(56, 63, 160);
/* oklch */ color: oklch(42.2% 0.155 274.5);
Tailwind
colors: {
  custom: {
    50: '#7b74bd',
    500: '#383fa0',
    950: '#000000',
  },
}
SCSS
$custom: #383fa0;
$custom-light: #7b74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#383fa0",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 235.962,
    "s": 48.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42225,
    "c": 0.15486,
    "h": 274.5
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#383FA0
secondary
#BCB778
accent
#CF50D8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #383FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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