#384199#384199

#384199 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.142 H 274.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#384199
RGBrgb(56, 65, 153)
HSLhsl(234, 46%, 41%)
HSVhsv(234, 63%, 60%)
CMYKcmyk(63.4%, 57.5%, 0%, 40%)
CIE-LABlab(31.63, 24.86, -49.43)
CIE-LCHlch(31.63, 55.33, 296.70°)
OKLaboklab(42.03% 0.0103 -0.142)
OKLCHoklch(42.03% 0.142 274.1)
XYZxyz(9.2691, 6.9205, 30.9781)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384199 #999038
analogous
#387199 #384199 #5F3899
triadic
#384199 #993841 #419938
tetradic
#384199 #993871 #999038 #38995F
square
#384199 #993871 #999038 #38995F
split-complementary
#384199 #995F38 #719938
monochromatic
#171B3F #282E6C #384199 #4F5ABF #7C84CF

Accessibility & contrast

On white

8.81
#384199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#384199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384199
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384199#FFFFFF#000000##FFFFFF
##3841991.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #384199;
/* rgb */ color: rgb(56, 65, 153);
/* oklch */ color: oklch(42.0% 0.142 274.1);
Tailwind
colors: {
  custom: {
    50: '#7975b8',
    500: '#384199',
    950: '#000000',
  },
}
SCSS
$custom: #384199;
$custom-light: #7975b8;
$custom-dark: #000000;
JSON
{
  "hex": "#384199",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 234.433,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.14239,
    "h": 274.1
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#384199
secondary
#B8B274
accent
#CA52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #384199

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

Preview Lab → · Contrast checker → · Palette generator →

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