#384CA7#384CA7

#384CA7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.148 H 270.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#384CA7
RGBrgb(56, 76, 167)
HSLhsl(229, 50%, 44%)
HSVhsv(229, 66%, 65%)
CMYKcmyk(66.5%, 54.5%, 0%, 34.5%)
CIE-LABlab(35.59, 22.66, -51.44)
CIE-LCHlch(35.59, 56.20, 293.77°)
OKLaboklab(45.33% 0.0004 -0.1478)
OKLCHoklch(45.33% 0.148 270.2)
XYZxyz(11.1880, 8.7986, 37.6604)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384CA7 #A79338
analogous
#3883A7 #384CA7 #5B38A7
triadic
#384CA7 #A7384C #4CA738
tetradic
#384CA7 #A73883 #A79338 #38A75B
square
#384CA7 #A73883 #A79338 #38A75B
split-complementary
#384CA7 #A75B38 #83A738
monochromatic
#19224B #293779 #384CA7 #566AC6 #8492D6

Accessibility & contrast

On white

7.61
#384CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#384CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384CA7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384CA7#FFFFFF#000000##FFFFFF
##384CA71.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A59AA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #384ca7;
/* rgb */ color: rgb(56, 76, 167);
/* oklch */ color: oklch(45.3% 0.148 270.2);
Tailwind
colors: {
  custom: {
    50: '#7b7dc2',
    500: '#384ca7',
    950: '#000000',
  },
}
SCSS
$custom: #384ca7;
$custom-light: #7b7dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#384ca7",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 229.189,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.14779,
    "h": 270.2
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#384CA7
secondary
#BFB37B
accent
#C04FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #384CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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