#384099#384099

#384099 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.144 H 274.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#384099
RGBrgb(56, 64, 153)
HSLhsl(235, 46%, 41%)
HSVhsv(235, 63%, 60%)
CMYKcmyk(63.4%, 58.2%, 0%, 40%)
CIE-LABlab(31.36, 25.52, -49.85)
CIE-LCHlch(31.36, 56.01, 297.11°)
OKLaboklab(41.84% 0.0112 -0.1433)
OKLCHoklch(41.84% 0.144 274.5)
XYZxyz(9.2122, 6.8067, 30.9592)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384099 #999138
analogous
#387099 #384099 #603899
triadic
#384099 #993840 #409938
tetradic
#384099 #993870 #999138 #389960
square
#384099 #993870 #999138 #389960
split-complementary
#384099 #996038 #709938
monochromatic
#171B3F #282D6C #384099 #4F59BF #7C83CF

Accessibility & contrast

On white

8.89
#384099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#384099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384099
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384099#FFFFFF#000000##FFFFFF
##3840991.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #384099;
/* rgb */ color: rgb(56, 64, 153);
/* oklch */ color: oklch(41.8% 0.144 274.5);
Tailwind
colors: {
  custom: {
    50: '#7974b8',
    500: '#384099',
    950: '#000000',
  },
}
SCSS
$custom: #384099;
$custom-light: #7974b8;
$custom-dark: #000000;
JSON
{
  "hex": "#384099",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 235.052,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41837,
    "c": 0.14372,
    "h": 274.5
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#384099
secondary
#B8B374
accent
#CB52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #384099

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

Preview Lab → · Contrast checker → · Palette generator →

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