#384182#384182

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

Color values

HEX#384182
RGBrgb(56, 65, 130)
HSLhsl(233, 40%, 36%)
HSVhsv(233, 57%, 51%)
CMYKcmyk(56.9%, 50%, 0%, 49%)
CIE-LABlab(29.99, 16.69, -37.92)
CIE-LCHlch(29.99, 41.43, 293.75°)
OKLaboklab(40.28% 0.0086 -0.1082)
OKLCHoklch(40.28% 0.109 274.5)
XYZxyz(7.5491, 6.2325, 21.9200)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384182 #827938
analogous
#386682 #384182 #543882
triadic
#384182 #823841 #418238
tetradic
#384182 #823866 #827938 #388254
square
#384182 #823866 #827938 #388254
split-complementary
#384182 #825438 #668238
monochromatic
#13162C #262C57 #384182 #4A56AD #727CC2

Accessibility & contrast

On white

9.35
#384182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#384182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384182
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384182#FFFFFF#000000##FFFFFF
##3841821.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A84
Deuteranopia (green-blind)
#184481
Tritanopia (blue-blind)
#114F5B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #384182;
/* rgb */ color: rgb(56, 65, 130);
/* oklch */ color: oklch(40.3% 0.109 274.5);
Tailwind
colors: {
  custom: {
    50: '#7575a7',
    500: '#384182',
    950: '#000000',
  },
}
SCSS
$custom: #384182;
$custom-light: #7575a7;
$custom-dark: #000000;
JSON
{
  "hex": "#384182",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 232.703,
    "s": 39.785,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40284,
    "c": 0.10851,
    "h": 274.5
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#384182
secondary
#ABA36B
accent
#C158D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #384182

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

Preview Lab → · Contrast checker → · Palette generator →

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