#384FAF#384FAF

#384FAF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.155 H 269.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#384FAF
RGBrgb(56, 79, 175)
HSLhsl(228, 52%, 45%)
HSVhsv(228, 68%, 69%)
CMYKcmyk(68%, 54.9%, 0%, 31.4%)
CIE-LABlab(36.98, 23.60, -53.95)
CIE-LCHlch(36.98, 58.89, 293.62°)
OKLaboklab(46.56% -0.0018 -0.1551)
OKLCHoklch(46.56% 0.155 269.3)
XYZxyz(12.1621, 9.5267, 41.7470)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384FAF #AF9838
analogous
#388BAF #384FAF #5C38AF
triadic
#384FAF #AF384F #4FAF38
tetradic
#384FAF #AF388B #AF9838 #38AF5C
square
#384FAF #AF388B #AF9838 #38AF5C
split-complementary
#384FAF #AF5C38 #8BAF38
monochromatic
#1A2552 #293A81 #384FAF #5A70CA #8898D9

Accessibility & contrast

On white

7.23
#384FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#384FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384FAF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384FAF#FFFFFF#000000##FFFFFF
##384FAF1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025DB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #384faf;
/* rgb */ color: rgb(56, 79, 175);
/* oklch */ color: oklch(46.6% 0.155 269.3);
Tailwind
colors: {
  custom: {
    50: '#7d80c8',
    500: '#384faf',
    950: '#000000',
  },
}
SCSS
$custom: #384faf;
$custom-light: #7d80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#384faf",
  "rgb": {
    "r": 56,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 228.403,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4656,
    "c": 0.15516,
    "h": 269.3
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#384FAF
secondary
#C3B680
accent
#BF4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #384FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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