#384EB9#384EB9

#384EB9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.170 H 269.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#384EB9
RGBrgb(56, 78, 185)
HSLhsl(230, 54%, 47%)
HSVhsv(230, 70%, 73%)
CMYKcmyk(69.7%, 57.8%, 0%, 27.5%)
CIE-LABlab(37.46, 27.88, -59.06)
CIE-LCHlch(37.46, 65.32, 295.27°)
OKLaboklab(47.16% -0.0005 -0.1702)
OKLCHoklch(47.16% 0.17 269.8)
XYZxyz(13.1092, 9.7910, 47.0885)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384EB9 #B9A338
analogous
#388FB9 #384EB9 #6238B9
triadic
#384EB9 #B9384E #4EB938
tetradic
#384EB9 #B9388F #B9A338 #38B962
square
#384EB9 #B9388F #B9A338 #38B962
split-complementary
#384EB9 #B96238 #8FB938
monochromatic
#1C265B #2A3A8A #384EB9 #5F72CF #8E9CDD

Accessibility & contrast

On white

7.10
#384EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#384EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384EB9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384EB9#FFFFFF#000000##FFFFFF
##384EB91.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #384eb9;
/* rgb */ color: rgb(56, 78, 185);
/* oklch */ color: oklch(47.2% 0.170 269.8);
Tailwind
colors: {
  custom: {
    50: '#7f7fcf',
    500: '#384eb9',
    950: '#000000',
  },
}
SCSS
$custom: #384eb9;
$custom-light: #7f7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#384eb9",
  "rgb": {
    "r": 56,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 229.767,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4716,
    "c": 0.1702,
    "h": 269.8
  },
  "luminance": 0.09792
}

Semantic roles & 50–950 ramp

primary
#384EB9
secondary
#C8BC85
accent
#C44BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #384EB9

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

Preview Lab → · Contrast checker → · Palette generator →

#384EB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva