#384196#384196

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

Color values

HEX#384196
RGBrgb(56, 65, 150)
HSLhsl(234, 46%, 40%)
HSVhsv(234, 63%, 59%)
CMYKcmyk(62.7%, 56.7%, 0%, 41.2%)
CIE-LABlab(31.40, 23.79, -47.97)
CIE-LCHlch(31.40, 53.55, 296.38°)
OKLaboklab(41.79% 0.0102 -0.1377)
OKLCHoklch(41.79% 0.138 274.2)
XYZxyz(9.0244, 6.8226, 29.6896)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384196 #968D38
analogous
#387096 #384196 #5E3896
triadic
#384196 #963841 #419638
tetradic
#384196 #963870 #968D38 #38965E
square
#384196 #963870 #968D38 #38965E
split-complementary
#384196 #965E38 #709638
monochromatic
#171A3D #272E69 #384196 #4E59BD #7B83CE

Accessibility & contrast

On white

8.88
#384196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #384196
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384196#FFFFFF#000000##FFFFFF
##3841961.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #384196;
/* rgb */ color: rgb(56, 65, 150);
/* oklch */ color: oklch(41.8% 0.138 274.2);
Tailwind
colors: {
  custom: {
    50: '#7975b5',
    500: '#384196',
    950: '#000000',
  },
}
SCSS
$custom: #384196;
$custom-light: #7975b5;
$custom-dark: #000000;
JSON
{
  "hex": "#384196",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 234.255,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41793,
    "c": 0.13809,
    "h": 274.2
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#384196
secondary
#B7B073
accent
#C952D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #384196

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

Preview Lab → · Contrast checker → · Palette generator →

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