#384DB2#384DB2

#384DB2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.162 H 270.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#384DB2
RGBrgb(56, 77, 178)
HSLhsl(230, 52%, 46%)
HSVhsv(230, 69%, 70%)
CMYKcmyk(68.5%, 56.7%, 0%, 30.2%)
CIE-LABlab(36.67, 26.00, -56.23)
CIE-LCHlch(36.67, 61.95, 294.81°)
OKLaboklab(46.4% 0.0001 -0.1619)
OKLCHoklch(46.4% 0.162 270)
XYZxyz(12.3179, 9.3617, 43.2687)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384DB2 #B29D38
analogous
#388AB2 #384DB2 #6038B2
triadic
#384DB2 #B2384D #4DB238
tetradic
#384DB2 #B2388A #B29D38 #38B260
square
#384DB2 #B2388A #B29D38 #38B260
split-complementary
#384DB2 #B26038 #8AB238
monochromatic
#1B2555 #293983 #384DB2 #5C6FCC #8A98DA

Accessibility & contrast

On white

7.31
#384DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#384DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384DB2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384DB2#FFFFFF#000000##FFFFFF
##384DB21.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #384db2;
/* rgb */ color: rgb(56, 77, 178);
/* oklch */ color: oklch(46.4% 0.162 270.0);
Tailwind
colors: {
  custom: {
    50: '#7d7eca',
    500: '#384db2',
    950: '#000000',
  },
}
SCSS
$custom: #384db2;
$custom-light: #7d7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#384db2",
  "rgb": {
    "r": 56,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 229.672,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.16187,
    "h": 270
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#384DB2
secondary
#C5B981
accent
#C34CDC
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #384DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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