#384FA7#384FA7

#384FA7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.144 H 269.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#384FA7
RGBrgb(56, 79, 167)
HSLhsl(228, 50%, 44%)
HSVhsv(228, 66%, 65%)
CMYKcmyk(66.5%, 52.7%, 0%, 34.5%)
CIE-LABlab(36.41, 20.68, -50.12)
CIE-LCHlch(36.41, 54.22, 292.42°)
OKLaboklab(45.95% -0.0024 -0.1439)
OKLCHoklch(45.95% 0.144 269)
XYZxyz(11.3995, 9.2217, 37.7309)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384FA7 #A79038
analogous
#3886A7 #384FA7 #5838A7
triadic
#384FA7 #A7384F #4FA738
tetradic
#384FA7 #A73886 #A79038 #38A758
square
#384FA7 #A73886 #A79038 #38A758
split-complementary
#384FA7 #A75838 #86A738
monochromatic
#19244B #293979 #384FA7 #566DC6 #8495D6

Accessibility & contrast

On white

7.38
#384FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #384FA7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384FA7#FFFFFF#000000##FFFFFF
##384FA71.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185BAA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #384fa7;
/* rgb */ color: rgb(56, 79, 167);
/* oklch */ color: oklch(45.9% 0.144 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b80c2',
    500: '#384fa7',
    950: '#000000',
  },
}
SCSS
$custom: #384fa7;
$custom-light: #7b80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#384fa7",
  "rgb": {
    "r": 56,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 227.568,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45947,
    "c": 0.1439,
    "h": 269
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#384FA7
secondary
#BFB17B
accent
#BD4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #384FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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