#384188#384188

#384188 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.7% C 0.118 H 274.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#384188
RGBrgb(56, 65, 136)
HSLhsl(233, 42%, 38%)
HSVhsv(233, 59%, 53%)
CMYKcmyk(58.8%, 52.2%, 0%, 46.7%)
CIE-LABlab(30.40, 18.81, -40.99)
CIE-LCHlch(30.40, 45.10, 294.65°)
OKLaboklab(40.72% 0.0093 -0.1172)
OKLCHoklch(40.72% 0.118 274.5)
XYZxyz(7.9637, 6.3983, 24.1031)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384188 #887F38
analogous
#386988 #384188 #573888
triadic
#384188 #883841 #418838
tetradic
#384188 #883869 #887F38 #388857
square
#384188 #883869 #887F38 #388857
split-complementary
#384188 #885738 #698838
monochromatic
#141831 #262C5D #384188 #4A56B3 #747EC6

Accessibility & contrast

On white

9.21
#384188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#384188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384188
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384188#FFFFFF#000000##FFFFFF
##3841881.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8B
Deuteranopia (green-blind)
#0D4487
Tritanopia (blue-blind)
#05515E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #384188;
/* rgb */ color: rgb(56, 65, 136);
/* oklch */ color: oklch(40.7% 0.118 274.5);
Tailwind
colors: {
  custom: {
    50: '#7675ab',
    500: '#384188',
    950: '#000000',
  },
}
SCSS
$custom: #384188;
$custom-light: #7675ab;
$custom-dark: #000000;
JSON
{
  "hex": "#384188",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 136
  },
  "hsl": {
    "h": 233.25,
    "s": 41.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40719,
    "c": 0.11756,
    "h": 274.5
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#384188
secondary
#AFA76D
accent
#C456D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #384188

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

Preview Lab → · Contrast checker → · Palette generator →

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