#384189#384189

#384189 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.8% C 0.119 H 274.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#384189
RGBrgb(56, 65, 137)
HSLhsl(233, 42%, 38%)
HSVhsv(233, 59%, 54%)
CMYKcmyk(59.1%, 52.6%, 0%, 46.3%)
CIE-LABlab(30.46, 19.16, -41.50)
CIE-LCHlch(30.46, 45.71, 294.79°)
OKLaboklab(40.79% 0.0093 -0.1187)
OKLCHoklch(40.79% 0.119 274.5)
XYZxyz(8.0351, 6.4269, 24.4792)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384189 #898038
analogous
#386A89 #384189 #573889
triadic
#384189 #893841 #418938
tetradic
#384189 #89386A #898038 #388957
square
#384189 #89386A #898038 #388957
split-complementary
#384189 #895738 #6A8938
monochromatic
#141832 #262C5E #384189 #4A56B4 #757EC7

Accessibility & contrast

On white

9.19
#384189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#384189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384189
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384189#FFFFFF#000000##FFFFFF
##3841891.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#0A4487
Tritanopia (blue-blind)
#03515E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #384189;
/* rgb */ color: rgb(56, 65, 137);
/* oklch */ color: oklch(40.8% 0.119 274.5);
Tailwind
colors: {
  custom: {
    50: '#7675ac',
    500: '#384189',
    950: '#000000',
  },
}
SCSS
$custom: #384189;
$custom-light: #7675ac;
$custom-dark: #000000;
JSON
{
  "hex": "#384189",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 233.333,
    "s": 41.969,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.11906,
    "h": 274.5
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#384189
secondary
#AFA86D
accent
#C456D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #384189

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

Preview Lab → · Contrast checker → · Palette generator →

#384189 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva