#384CB1#384CB1

#384CB1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.162 H 270.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#384CB1
RGBrgb(56, 76, 177)
HSLhsl(230, 52%, 46%)
HSVhsv(230, 68%, 69%)
CMYKcmyk(68.4%, 57.1%, 0%, 30.6%)
CIE-LABlab(36.33, 26.29, -56.18)
CIE-LCHlch(36.33, 62.03, 295.07°)
OKLaboklab(46.12% 0.0009 -0.1617)
OKLCHoklch(46.12% 0.162 270.3)
XYZxyz(12.1484, 9.1828, 42.7187)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384CB1 #B19D38
analogous
#3888B1 #384CB1 #6138B1
triadic
#384CB1 #B1384C #4CB138
tetradic
#384CB1 #B13888 #B19D38 #38B161
square
#384CB1 #B13888 #B19D38 #38B161
split-complementary
#384CB1 #B16138 #88B138
monochromatic
#1B2454 #293883 #384CB1 #5B6ECB #8A97DA

Accessibility & contrast

On white

7.40
#384CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#384CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384CB1
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384CB1#FFFFFF#000000##FFFFFF
##384CB11.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #384cb1;
/* rgb */ color: rgb(56, 76, 177);
/* oklch */ color: oklch(46.1% 0.162 270.3);
Tailwind
colors: {
  custom: {
    50: '#7d7dc9',
    500: '#384cb1',
    950: '#000000',
  },
}
SCSS
$custom: #384cb1;
$custom-light: #7d7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#384cb1",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 230.083,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46123,
    "c": 0.16175,
    "h": 270.3
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#384CB1
secondary
#C4B981
accent
#C44CDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #384CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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