#384FB2#384FB2

#384FB2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.159 H 269.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#384FB2
RGBrgb(56, 79, 178)
HSLhsl(229, 52%, 46%)
HSVhsv(229, 69%, 70%)
CMYKcmyk(68.5%, 55.6%, 0%, 30.2%)
CIE-LABlab(37.20, 24.69, -55.37)
CIE-LCHlch(37.20, 60.63, 294.03°)
OKLaboklab(46.79% -0.0016 -0.1593)
OKLCHoklch(46.79% 0.159 269.4)
XYZxyz(12.4600, 9.6459, 43.3160)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384FB2 #B29B38
analogous
#388CB2 #384FB2 #5E38B2
triadic
#384FB2 #B2384F #4FB238
tetradic
#384FB2 #B2388C #B29B38 #38B25E
square
#384FB2 #B2388C #B29B38 #38B25E
split-complementary
#384FB2 #B25E38 #8CB238
monochromatic
#1B2655 #293A83 #384FB2 #5C71CC #8A99DA

Accessibility & contrast

On white

7.17
#384FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#384FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384FB2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384FB2#FFFFFF#000000##FFFFFF
##384FB21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #384fb2;
/* rgb */ color: rgb(56, 79, 178);
/* oklch */ color: oklch(46.8% 0.159 269.4);
Tailwind
colors: {
  custom: {
    50: '#7d80ca',
    500: '#384fb2',
    950: '#000000',
  },
}
SCSS
$custom: #384fb2;
$custom-light: #7d80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#384fb2",
  "rgb": {
    "r": 56,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 228.689,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.15933,
    "h": 269.4
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#384FB2
secondary
#C5B881
accent
#C14CDC
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #384FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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