#384186#384186

#384186 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.6% C 0.115 H 274.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#384186
RGBrgb(56, 65, 134)
HSLhsl(233, 41%, 37%)
HSVhsv(233, 58%, 53%)
CMYKcmyk(58.2%, 51.5%, 0%, 47.5%)
CIE-LABlab(30.26, 18.10, -39.97)
CIE-LCHlch(30.26, 43.88, 294.36°)
OKLaboklab(40.57% 0.0091 -0.1142)
OKLCHoklch(40.57% 0.115 274.5)
XYZxyz(7.8229, 6.3420, 23.3615)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384186 #867D38
analogous
#386886 #384186 #563886
triadic
#384186 #863841 #418638
tetradic
#384186 #863868 #867D38 #388656
square
#384186 #863868 #867D38 #388656
split-complementary
#384186 #865638 #688638
monochromatic
#141730 #262C5B #384186 #4A56B1 #747DC5

Accessibility & contrast

On white

9.26
#384186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#384186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384186
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384186#FFFFFF#000000##FFFFFF
##3841861.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B88
Deuteranopia (green-blind)
#114485
Tritanopia (blue-blind)
#0A515D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #384186;
/* rgb */ color: rgb(56, 65, 134);
/* oklch */ color: oklch(40.6% 0.115 274.5);
Tailwind
colors: {
  custom: {
    50: '#7675aa',
    500: '#384186',
    950: '#000000',
  },
}
SCSS
$custom: #384186;
$custom-light: #7675aa;
$custom-dark: #000000;
JSON
{
  "hex": "#384186",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 233.077,
    "s": 41.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40572,
    "c": 0.11456,
    "h": 274.5
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#384186
secondary
#AEA66C
accent
#C357D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #384186

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

Preview Lab → · Contrast checker → · Palette generator →

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