#384197#384197

#384197 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.140 H 274.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#384197
RGBrgb(56, 65, 151)
HSLhsl(234, 46%, 41%)
HSVhsv(234, 63%, 59%)
CMYKcmyk(62.9%, 57%, 0%, 40.8%)
CIE-LABlab(31.47, 24.15, -48.46)
CIE-LCHlch(31.47, 54.14, 296.49°)
OKLaboklab(41.87% 0.0102 -0.1392)
OKLCHoklch(41.87% 0.14 274.2)
XYZxyz(9.1053, 6.8550, 30.1155)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384197 #978E38
analogous
#387097 #384197 #5E3897
triadic
#384197 #973841 #419738
tetradic
#384197 #973870 #978E38 #38975E
square
#384197 #973870 #978E38 #38975E
split-complementary
#384197 #975E38 #709738
monochromatic
#171B3E #272E6A #384197 #4F59BE #7B83CE

Accessibility & contrast

On white

8.86
#384197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#384197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384197
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384197#FFFFFF#000000##FFFFFF
##3841971.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #384197;
/* rgb */ color: rgb(56, 65, 151);
/* oklch */ color: oklch(41.9% 0.140 274.2);
Tailwind
colors: {
  custom: {
    50: '#7975b6',
    500: '#384197',
    950: '#000000',
  },
}
SCSS
$custom: #384197;
$custom-light: #7975b6;
$custom-dark: #000000;
JSON
{
  "hex": "#384197",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 234.316,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.13953,
    "h": 274.2
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#384197
secondary
#B7B173
accent
#C952D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #384197

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

Preview Lab → · Contrast checker → · Palette generator →

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