#384187#384187

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

Color values

HEX#384187
RGBrgb(56, 65, 135)
HSLhsl(233, 41%, 37%)
HSVhsv(233, 59%, 53%)
CMYKcmyk(58.5%, 51.9%, 0%, 47.1%)
CIE-LABlab(30.33, 18.45, -40.48)
CIE-LCHlch(30.33, 44.49, 294.50°)
OKLaboklab(40.65% 0.0092 -0.1157)
OKLCHoklch(40.65% 0.116 274.5)
XYZxyz(7.8929, 6.3700, 23.7306)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384187 #877E38
analogous
#386887 #384187 #573887
triadic
#384187 #873841 #418738
tetradic
#384187 #873868 #877E38 #388757
square
#384187 #873868 #877E38 #388757
split-complementary
#384187 #875738 #688738
monochromatic
#141730 #262C5C #384187 #4A56B2 #747DC5

Accessibility & contrast

On white

9.23
#384187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#384187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384187
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384187#FFFFFF#000000##FFFFFF
##3841871.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#0F4486
Tritanopia (blue-blind)
#08515D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #384187;
/* rgb */ color: rgb(56, 65, 135);
/* oklch */ color: oklch(40.6% 0.116 274.5);
Tailwind
colors: {
  custom: {
    50: '#7675aa',
    500: '#384187',
    950: '#000000',
  },
}
SCSS
$custom: #384187;
$custom-light: #7675aa;
$custom-dark: #000000;
JSON
{
  "hex": "#384187",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 233.165,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40646,
    "c": 0.11606,
    "h": 274.5
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#384187
secondary
#AEA76D
accent
#C357D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #384187

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

Preview Lab → · Contrast checker → · Palette generator →

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