#384087#384087

#384087 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.4% C 0.117 H 275.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#384087
RGBrgb(56, 64, 135)
HSLhsl(234, 41%, 37%)
HSVhsv(234, 59%, 53%)
CMYKcmyk(58.5%, 52.6%, 0%, 47.1%)
CIE-LABlab(30.05, 19.12, -40.93)
CIE-LCHlch(30.05, 45.18, 295.04°)
OKLaboklab(40.44% 0.0103 -0.117)
OKLCHoklch(40.44% 0.117 275)
XYZxyz(7.8360, 6.2563, 23.7116)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384087 #877F38
analogous
#386887 #384087 #583887
triadic
#384087 #873840 #408738
tetradic
#384087 #873868 #877F38 #388758
square
#384087 #873868 #877F38 #388758
split-complementary
#384087 #875838 #688738
monochromatic
#141730 #262B5C #384087 #4A55B2 #747CC5

Accessibility & contrast

On white

9.33
#384087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#384087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384087
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384087#FFFFFF#000000##FFFFFF
##3840871.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A8A
Deuteranopia (green-blind)
#0B4486
Tritanopia (blue-blind)
#08505D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #384087;
/* rgb */ color: rgb(56, 64, 135);
/* oklch */ color: oklch(40.4% 0.117 275.0);
Tailwind
colors: {
  custom: {
    50: '#7674aa',
    500: '#384087',
    950: '#000000',
  },
}
SCSS
$custom: #384087;
$custom-light: #7674aa;
$custom-dark: #000000;
JSON
{
  "hex": "#384087",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 233.924,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40436,
    "c": 0.11748,
    "h": 275
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#384087
secondary
#AEA86D
accent
#C557D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #384087

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

Preview Lab → · Contrast checker → · Palette generator →

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