#384BB7#384BB7

#384BB7 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.171 H 270.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#384BB7
RGBrgb(56, 75, 183)
HSLhsl(231, 53%, 47%)
HSVhsv(231, 69%, 72%)
CMYKcmyk(69.4%, 59%, 0%, 28.2%)
CIE-LABlab(36.54, 29.10, -59.40)
CIE-LCHlch(36.54, 66.14, 296.10°)
OKLaboklab(46.42% 0.0019 -0.1712)
OKLCHoklch(46.42% 0.171 270.6)
XYZxyz(12.6913, 9.2906, 45.9150)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384BB7 #B7A438
analogous
#388AB7 #384BB7 #6538B7
triadic
#384BB7 #B7384B #4BB738
tetradic
#384BB7 #B7388A #B7A438 #38B765
square
#384BB7 #B7388A #B7A438 #38B765
split-complementary
#384BB7 #B76538 #8AB738
monochromatic
#1B2559 #2A3888 #384BB7 #5E6FCE #8D99DC

Accessibility & contrast

On white

7.35
#384BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#384BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384BB7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384BB7#FFFFFF#000000##FFFFFF
##384BB71.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #384bb7;
/* rgb */ color: rgb(56, 75, 183);
/* oklch */ color: oklch(46.4% 0.171 270.6);
Tailwind
colors: {
  custom: {
    50: '#7f7dcd',
    500: '#384bb7',
    950: '#000000',
  },
}
SCSS
$custom: #384bb7;
$custom-light: #7f7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#384bb7",
  "rgb": {
    "r": 56,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 231.024,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.17122,
    "h": 270.6
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#384BB7
secondary
#C7BD84
accent
#C74BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #384BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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