#384181#384181

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

Color values

HEX#384181
RGBrgb(56, 65, 129)
HSLhsl(233, 39%, 36%)
HSVhsv(233, 57%, 51%)
CMYKcmyk(56.6%, 49.6%, 0%, 49.4%)
CIE-LABlab(29.93, 16.33, -37.40)
CIE-LCHlch(29.93, 40.82, 293.59°)
OKLaboklab(40.21% 0.0085 -0.1066)
OKLCHoklch(40.21% 0.107 274.5)
XYZxyz(7.4824, 6.2058, 21.5682)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384181 #817838
analogous
#386681 #384181 #543881
triadic
#384181 #813841 #418138
tetradic
#384181 #813866 #817838 #388154
square
#384181 #813866 #817838 #388154
split-complementary
#384181 #815438 #668138
monochromatic
#13162C #252B56 #384181 #4B57AC #727CC2

Accessibility & contrast

On white

9.37
#384181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #384181
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384181#FFFFFF#000000##FFFFFF
##3841811.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A83
Deuteranopia (green-blind)
#194480
Tritanopia (blue-blind)
#134F5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #384181;
/* rgb */ color: rgb(56, 65, 129);
/* oklch */ color: oklch(40.2% 0.107 274.5);
Tailwind
colors: {
  custom: {
    50: '#7575a6',
    500: '#384181',
    950: '#000000',
  },
}
SCSS
$custom: #384181;
$custom-light: #7575a6;
$custom-dark: #000000;
JSON
{
  "hex": "#384181",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 232.603,
    "s": 39.459,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40213,
    "c": 0.10699,
    "h": 274.5
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#384181
secondary
#ABA36A
accent
#C158CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #384181

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

Preview Lab → · Contrast checker → · Palette generator →

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