#384897#384897

#384897 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.130 H 271.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#384897
RGBrgb(56, 72, 151)
HSLhsl(230, 46%, 41%)
HSVhsv(230, 63%, 59%)
CMYKcmyk(62.9%, 52.3%, 0%, 40.8%)
CIE-LABlab(33.37, 19.50, -45.39)
CIE-LCHlch(33.37, 49.41, 293.25°)
OKLaboklab(43.3% 0.0031 -0.1301)
OKLCHoklch(43.3% 0.13 271.4)
XYZxyz(9.5323, 7.7091, 30.2578)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384897 #978738
analogous
#387797 #384897 #573897
triadic
#384897 #973848 #489738
tetradic
#384897 #973877 #978738 #389757
square
#384897 #973877 #978738 #389757
split-complementary
#384897 #975738 #779738
monochromatic
#171D3E #27336A #384897 #4F61BE #7B89CE

Accessibility & contrast

On white

8.26
#384897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#384897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384897
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384897#FFFFFF#000000##FFFFFF
##3848971.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #384897;
/* rgb */ color: rgb(56, 72, 151);
/* oklch */ color: oklch(43.3% 0.130 271.4);
Tailwind
colors: {
  custom: {
    50: '#787ab6',
    500: '#384897',
    950: '#000000',
  },
}
SCSS
$custom: #384897;
$custom-light: #787ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#384897",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 229.895,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43296,
    "c": 0.1301,
    "h": 271.4
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#384897
secondary
#B7AC73
accent
#BF52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #384897

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

Preview Lab → · Contrast checker → · Palette generator →

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