#384FB1#384FB1

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

Color values

HEX#384FB1
RGBrgb(56, 79, 177)
HSLhsl(229, 52%, 46%)
HSVhsv(229, 68%, 69%)
CMYKcmyk(68.4%, 55.4%, 0%, 30.6%)
CIE-LABlab(37.13, 24.33, -54.90)
CIE-LCHlch(37.13, 60.05, 293.90°)
OKLaboklab(46.72% -0.0017 -0.1579)
OKLCHoklch(46.72% 0.158 269.4)
XYZxyz(12.3600, 9.6059, 42.7892)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384FB1 #B19A38
analogous
#388BB1 #384FB1 #5D38B1
triadic
#384FB1 #B1384F #4FB138
tetradic
#384FB1 #B1388B #B19A38 #38B15D
square
#384FB1 #B1388B #B19A38 #38B15D
split-complementary
#384FB1 #B15D38 #8BB138
monochromatic
#1B2554 #293A83 #384FB1 #5B70CB #8A99DA

Accessibility & contrast

On white

7.19
#384FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#384FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384FB1
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384FB1#FFFFFF#000000##FFFFFF
##384FB11.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #384fb1;
/* rgb */ color: rgb(56, 79, 177);
/* oklch */ color: oklch(46.7% 0.158 269.4);
Tailwind
colors: {
  custom: {
    50: '#7d80c9',
    500: '#384fb1',
    950: '#000000',
  },
}
SCSS
$custom: #384fb1;
$custom-light: #7d80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#384fb1",
  "rgb": {
    "r": 56,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 228.595,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46716,
    "c": 0.15795,
    "h": 269.4
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#384FB1
secondary
#C4B781
accent
#C04CDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #384FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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