#384FA1#384FA1

#384FA1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.135 H 268.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#384FA1
RGBrgb(56, 79, 161)
HSLhsl(227, 48%, 43%)
HSVhsv(227, 65%, 63%)
CMYKcmyk(65.2%, 50.9%, 0%, 36.9%)
CIE-LABlab(35.99, 18.50, -47.20)
CIE-LCHlch(35.99, 50.69, 291.40°)
OKLaboklab(45.5% -0.003 -0.1353)
OKLCHoklch(45.5% 0.135 268.7)
XYZxyz(10.8577, 9.0049, 34.8772)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384FA1 #A18A38
analogous
#3884A1 #384FA1 #5538A1
triadic
#384FA1 #A1384F #4FA138
tetradic
#384FA1 #A13884 #A18A38 #38A155
square
#384FA1 #A13884 #A18A38 #38A155
split-complementary
#384FA1 #A15538 #84A138
monochromatic
#182246 #283974 #384FA1 #536CC3 #8093D3

Accessibility & contrast

On white

7.50
#384FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#384FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384FA1
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384FA1#FFFFFF#000000##FFFFFF
##384FA11.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#02509F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #384fa1;
/* rgb */ color: rgb(56, 79, 161);
/* oklch */ color: oklch(45.5% 0.135 268.7);
Tailwind
colors: {
  custom: {
    50: '#7a7fbd',
    500: '#384fa1',
    950: '#000000',
  },
}
SCSS
$custom: #384fa1;
$custom-light: #7a7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#384fa1",
  "rgb": {
    "r": 56,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 226.857,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45502,
    "c": 0.13531,
    "h": 268.7
  },
  "luminance": 0.09006
}

Semantic roles & 50–950 ramp

primary
#384FA1
secondary
#BCAE78
accent
#BA50D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #384FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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