#383CB5#383CB5

#383CB5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.187 H 274.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#383CB5
RGBrgb(56, 60, 181)
HSLhsl(238, 53%, 46%)
HSVhsv(238, 69%, 71%)
CMYKcmyk(69.1%, 66.9%, 0%, 29%)
CIE-LABlab(32.72, 37.91, -64.46)
CIE-LCHlch(32.72, 74.78, 300.47°)
OKLaboklab(43.56% 0.0132 -0.1862)
OKLCHoklch(43.56% 0.187 274.1)
XYZxyz(11.5845, 7.4076, 44.5264)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CB5 #B5B138
analogous
#387BB5 #383CB5 #7338B5
triadic
#383CB5 #B5383C #3CB538
tetradic
#383CB5 #B5387B #B5B138 #38B573
square
#383CB5 #B5387B #B5B138 #38B573
split-complementary
#383CB5 #B57338 #7BB538
monochromatic
#1B1D58 #2A2D86 #383CB5 #5D61CD #8C8FDB

Accessibility & contrast

On white

8.46
#383CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#383CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CB5
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CB5#FFFFFF#000000##FFFFFF
##383CB51.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #383cb5;
/* rgb */ color: rgb(56, 60, 181);
/* oklch */ color: oklch(43.6% 0.187 274.1);
Tailwind
colors: {
  custom: {
    50: '#7f72cc',
    500: '#383cb5',
    950: '#000000',
  },
}
SCSS
$custom: #383cb5;
$custom-light: #7f72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#383cb5",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 238.08,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43559,
    "c": 0.18664,
    "h": 274.1
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#383CB5
secondary
#C6C483
accent
#D84CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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