#384AAF#384AAF

#384AAF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.162 H 270.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#384AAF
RGBrgb(56, 74, 175)
HSLhsl(231, 52%, 45%)
HSVhsv(231, 68%, 69%)
CMYKcmyk(68%, 57.7%, 0%, 31.4%)
CIE-LABlab(35.66, 26.87, -56.09)
CIE-LCHlch(35.66, 62.20, 295.59°)
OKLaboklab(45.57% 0.0026 -0.1615)
OKLCHoklch(45.57% 0.162 270.9)
XYZxyz(11.8149, 8.8323, 41.6313)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384AAF #AF9D38
analogous
#3886AF #384AAF #6138AF
triadic
#384AAF #AF384A #4AAF38
tetradic
#384AAF #AF3886 #AF9D38 #38AF61
square
#384AAF #AF3886 #AF9D38 #38AF61
split-complementary
#384AAF #AF6138 #86AF38
monochromatic
#1A2352 #293681 #384AAF #5A6BCA #8895D9

Accessibility & contrast

On white

7.59
#384AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#384AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384AAF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384AAF#FFFFFF#000000##FFFFFF
##384AAF1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #384aaf;
/* rgb */ color: rgb(56, 74, 175);
/* oklch */ color: oklch(45.6% 0.162 270.9);
Tailwind
colors: {
  custom: {
    50: '#7d7cc8',
    500: '#384aaf',
    950: '#000000',
  },
}
SCSS
$custom: #384aaf;
$custom-light: #7d7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#384aaf",
  "rgb": {
    "r": 56,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 230.924,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.16153,
    "h": 270.9
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#384AAF
secondary
#C3B980
accent
#C54DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #384AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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