#383EB7#383EB7

#383EB7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.187 H 273.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#383EB7
RGBrgb(56, 62, 183)
HSLhsl(237, 53%, 47%)
HSVhsv(237, 69%, 72%)
CMYKcmyk(69.4%, 66.1%, 0%, 28.2%)
CIE-LABlab(33.36, 37.37, -64.59)
CIE-LCHlch(33.36, 74.62, 300.05°)
OKLaboklab(44.08% 0.0116 -0.1865)
OKLCHoklch(44.08% 0.187 273.6)
XYZxyz(11.8979, 7.7038, 45.6505)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EB7 #B7B138
analogous
#387EB7 #383EB7 #7138B7
triadic
#383EB7 #B7383E #3EB738
tetradic
#383EB7 #B7387E #B7B138 #38B771
square
#383EB7 #B7387E #B7B138 #38B771
split-complementary
#383EB7 #B77138 #7EB738
monochromatic
#1B1E59 #2A2E88 #383EB7 #5E64CE #8D91DC

Accessibility & contrast

On white

8.26
#383EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#383EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EB7
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EB7#FFFFFF#000000##FFFFFF
##383EB71.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #383eb7;
/* rgb */ color: rgb(56, 62, 183);
/* oklch */ color: oklch(44.1% 0.187 273.6);
Tailwind
colors: {
  custom: {
    50: '#8073ce',
    500: '#383eb7',
    950: '#000000',
  },
}
SCSS
$custom: #383eb7;
$custom-light: #8073ce;
$custom-dark: #000000;
JSON
{
  "hex": "#383eb7",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 237.165,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44079,
    "c": 0.18691,
    "h": 273.6
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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