#383EB8#383EB8

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

Color values

HEX#383EB8
RGBrgb(56, 62, 184)
HSLhsl(237, 53%, 47%)
HSVhsv(237, 70%, 72%)
CMYKcmyk(69.6%, 66.3%, 0%, 27.8%)
CIE-LABlab(33.45, 37.71, -65.03)
CIE-LCHlch(33.45, 75.18, 300.11°)
OKLaboklab(44.17% 0.0115 -0.1878)
OKLCHoklch(44.17% 0.188 273.5)
XYZxyz(12.0024, 7.7456, 46.2006)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EB8 #B8B238
analogous
#387EB8 #383EB8 #7238B8
triadic
#383EB8 #B8383E #3EB838
tetradic
#383EB8 #B8387E #B8B238 #38B872
square
#383EB8 #B8387E #B8B238 #38B872
split-complementary
#383EB8 #B87238 #7EB838
monochromatic
#1B1E5A #2A2E89 #383EB8 #5F64CE #8E92DD

Accessibility & contrast

On white

8.24
#383EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#383EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EB8
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EB8#FFFFFF#000000##FFFFFF
##383EB81.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #383eb8;
/* rgb */ color: rgb(56, 62, 184);
/* oklch */ color: oklch(44.2% 0.188 273.5);
Tailwind
colors: {
  custom: {
    50: '#8074ce',
    500: '#383eb8',
    950: '#000000',
  },
}
SCSS
$custom: #383eb8;
$custom-light: #8074ce;
$custom-dark: #000000;
JSON
{
  "hex": "#383eb8",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 237.188,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44171,
    "c": 0.1882,
    "h": 273.5
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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