#383EA8#383EA8

#383EA8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.167 H 274.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#383EA8
RGBrgb(56, 62, 168)
HSLhsl(237, 50%, 44%)
HSVhsv(237, 67%, 66%)
CMYKcmyk(66.7%, 63.1%, 0%, 34.1%)
CIE-LABlab(32.06, 32.14, -57.78)
CIE-LCHlch(32.06, 66.11, 299.08°)
OKLaboklab(42.73% 0.0127 -0.1666)
OKLCHoklch(42.73% 0.167 274.4)
XYZxyz(10.4191, 7.1122, 37.8619)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383EA8 #A8A238
analogous
#3876A8 #383EA8 #6A38A8
triadic
#383EA8 #A8383E #3EA838
tetradic
#383EA8 #A83876 #A8A238 #38A86A
square
#383EA8 #A83876 #A8A238 #38A86A
split-complementary
#383EA8 #A86A38 #76A838
monochromatic
#191C4C #292D7A #383EA8 #565CC7 #8489D6

Accessibility & contrast

On white

8.67
#383EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#383EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383EA8
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383EA8#FFFFFF#000000##FFFFFF
##383EA81.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383ea8;
/* rgb */ color: rgb(56, 62, 168);
/* oklch */ color: oklch(42.7% 0.167 274.4);
Tailwind
colors: {
  custom: {
    50: '#7c73c3',
    500: '#383ea8',
    950: '#000000',
  },
}
SCSS
$custom: #383ea8;
$custom-light: #7c73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#383ea8",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 236.786,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.16706,
    "h": 274.4
  },
  "luminance": 0.07113
}

Semantic roles & 50–950 ramp

primary
#383EA8
secondary
#C0BC7C
accent
#D24EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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