#384180#384180

#384180 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.105 H 274.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#384180
RGBrgb(56, 65, 128)
HSLhsl(233, 39%, 36%)
HSVhsv(233, 56%, 50%)
CMYKcmyk(56.3%, 49.2%, 0%, 49.8%)
CIE-LABlab(29.86, 15.98, -36.89)
CIE-LCHlch(29.86, 40.20, 293.43°)
OKLaboklab(40.14% 0.0083 -0.1051)
OKLCHoklch(40.14% 0.105 274.5)
XYZxyz(7.4162, 6.1794, 21.2198)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384180 #807738
analogous
#386580 #384180 #533880
triadic
#384180 #803841 #418038
tetradic
#384180 #803865 #807738 #388053
square
#384180 #803865 #807738 #388053
split-complementary
#384180 #805338 #658038
monochromatic
#13162B #252B55 #384180 #4B57AB #717BC1

Accessibility & contrast

On white

9.39
#384180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#384180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384180
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384180#FFFFFF#000000##FFFFFF
##3841801.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244982
Deuteranopia (green-blind)
#1B437F
Tritanopia (blue-blind)
#144F5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #384180;
/* rgb */ color: rgb(56, 65, 128);
/* oklch */ color: oklch(40.1% 0.105 274.5);
Tailwind
colors: {
  custom: {
    50: '#7575a5',
    500: '#384180',
    950: '#000000',
  },
}
SCSS
$custom: #384180;
$custom-light: #7575a5;
$custom-dark: #000000;
JSON
{
  "hex": "#384180",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 128
  },
  "hsl": {
    "h": 232.5,
    "s": 39.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.10545,
    "h": 274.5
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#384180
secondary
#AAA26A
accent
#C059CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #384180

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

Preview Lab → · Contrast checker → · Palette generator →

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