#383EB9#383EB9

#383EB9 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.190 H 273.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#383EB9
RGBrgb(56, 62, 185)
HSLhsl(237, 54%, 47%)
HSVhsv(237, 70%, 73%)
CMYKcmyk(69.7%, 66.5%, 0%, 27.5%)
CIE-LABlab(33.54, 38.06, -65.48)
CIE-LCHlch(33.54, 75.74, 300.17°)
OKLaboklab(44.26% 0.0114 -0.1892)
OKLCHoklch(44.26% 0.19 273.5)
XYZxyz(12.1075, 7.7876, 46.7546)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EB9 #B9B338
analogous
#387FB9 #383EB9 #7238B9
triadic
#383EB9 #B9383E #3EB938
tetradic
#383EB9 #B9387F #B9B338 #38B972
square
#383EB9 #B9387F #B9B338 #38B972
split-complementary
#383EB9 #B97238 #7FB938
monochromatic
#1C1F5B #2A2E8A #383EB9 #5F65CF #8E92DD

Accessibility & contrast

On white

8.21
#383EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#383EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EB9
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EB9#FFFFFF#000000##FFFFFF
##383EB91.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383eb9;
/* rgb */ color: rgb(56, 62, 185);
/* oklch */ color: oklch(44.3% 0.190 273.5);
Tailwind
colors: {
  custom: {
    50: '#8074cf',
    500: '#383eb9',
    950: '#000000',
  },
}
SCSS
$custom: #383eb9;
$custom-light: #8074cf;
$custom-dark: #000000;
JSON
{
  "hex": "#383eb9",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 237.209,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44264,
    "c": 0.1895,
    "h": 273.5
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#383EB9
secondary
#C8C585
accent
#D64BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #383EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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