#384281#384281

#384281 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.4% C 0.106 H 273.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#384281
RGBrgb(56, 66, 129)
HSLhsl(232, 39%, 36%)
HSVhsv(232, 57%, 51%)
CMYKcmyk(56.6%, 48.8%, 0%, 49.4%)
CIE-LABlab(30.21, 15.66, -36.95)
CIE-LCHlch(30.21, 40.13, 292.97°)
OKLaboklab(40.43% 0.0073 -0.1053)
OKLCHoklch(40.43% 0.106 273.9)
XYZxyz(7.5403, 6.3216, 21.5875)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384281 #817738
analogous
#386781 #384281 #533881
triadic
#384281 #813842 #428138
tetradic
#384281 #813867 #817738 #388153
square
#384281 #813867 #817738 #388153
split-complementary
#384281 #815338 #678138
monochromatic
#13162C #252C56 #384281 #4B58AC #727DC2

Accessibility & contrast

On white

9.27
#384281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#384281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384281
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384281#FFFFFF#000000##FFFFFF
##3842811.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#1C4480
Tritanopia (blue-blind)
#12505B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #384281;
/* rgb */ color: rgb(56, 66, 129);
/* oklch */ color: oklch(40.4% 0.106 273.9);
Tailwind
colors: {
  custom: {
    50: '#7576a6',
    500: '#384281',
    950: '#000000',
  },
}
SCSS
$custom: #384281;
$custom-light: #7576a6;
$custom-dark: #000000;
JSON
{
  "hex": "#384281",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 231.781,
    "s": 39.459,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40428,
    "c": 0.10555,
    "h": 273.9
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#384281
secondary
#ABA26A
accent
#BF58CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #384281

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

Preview Lab → · Contrast checker → · Palette generator →

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