#384287#384287

#384287 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.9% C 0.115 H 274.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#384287
RGBrgb(56, 66, 135)
HSLhsl(232, 41%, 37%)
HSVhsv(232, 59%, 53%)
CMYKcmyk(58.5%, 51.1%, 0%, 47.1%)
CIE-LABlab(30.61, 17.78, -40.04)
CIE-LCHlch(30.61, 43.81, 293.95°)
OKLaboklab(40.86% 0.008 -0.1144)
OKLCHoklch(40.86% 0.115 274)
XYZxyz(7.9509, 6.4859, 23.7499)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384287 #877D38
analogous
#386A87 #384287 #563887
triadic
#384287 #873842 #428738
tetradic
#384287 #87386A #877D38 #388756
square
#384287 #87386A #877D38 #388756
split-complementary
#384287 #875638 #6A8738
monochromatic
#141830 #262D5C #384287 #4A57B2 #747EC5

Accessibility & contrast

On white

9.14
#384287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#384287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384287
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384287#FFFFFF#000000##FFFFFF
##3842871.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C89
Deuteranopia (green-blind)
#124586
Tritanopia (blue-blind)
#07525E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #384287;
/* rgb */ color: rgb(56, 66, 135);
/* oklch */ color: oklch(40.9% 0.115 274.0);
Tailwind
colors: {
  custom: {
    50: '#7676aa',
    500: '#384287',
    950: '#000000',
  },
}
SCSS
$custom: #384287;
$custom-light: #7676aa;
$custom-dark: #000000;
JSON
{
  "hex": "#384287",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 232.405,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40856,
    "c": 0.11465,
    "h": 274
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#384287
secondary
#AEA66D
accent
#C257D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #384287

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

Preview Lab → · Contrast checker → · Palette generator →

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