#384798#384798

#384798 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.133 H 271.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#384798
RGBrgb(56, 71, 152)
HSLhsl(231, 46%, 41%)
HSVhsv(231, 63%, 60%)
CMYKcmyk(63.2%, 53.3%, 0%, 40.4%)
CIE-LABlab(33.16, 20.53, -46.33)
CIE-LCHlch(33.16, 50.68, 293.90°)
OKLaboklab(43.16% 0.0042 -0.1328)
OKLCHoklch(43.16% 0.133 271.8)
XYZxyz(9.5497, 7.6134, 30.6660)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384798 #988938
analogous
#387798 #384798 #593898
triadic
#384798 #983847 #479838
tetradic
#384798 #983877 #988938 #389859
square
#384798 #983877 #988938 #389859
split-complementary
#384798 #985938 #779838
monochromatic
#171D3F #28326B #384798 #4F60BE #7C89CF

Accessibility & contrast

On white

8.32
#384798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#384798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384798
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384798#FFFFFF#000000##FFFFFF
##3847981.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #384798;
/* rgb */ color: rgb(56, 71, 152);
/* oklch */ color: oklch(43.2% 0.133 271.8);
Tailwind
colors: {
  custom: {
    50: '#797ab7',
    500: '#384798',
    950: '#000000',
  },
}
SCSS
$custom: #384798;
$custom-light: #797ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#384798",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 230.625,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43163,
    "c": 0.13291,
    "h": 271.8
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#384798
secondary
#B8AD74
accent
#C152D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #384798

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

Preview Lab → · Contrast checker → · Palette generator →

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