#384FA6#384FA6

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

Color values

HEX#384FA6
RGBrgb(56, 79, 166)
HSLhsl(227, 50%, 44%)
HSVhsv(227, 66%, 65%)
CMYKcmyk(66.3%, 52.4%, 0%, 34.9%)
CIE-LABlab(36.34, 20.32, -49.64)
CIE-LCHlch(36.34, 53.63, 292.26°)
OKLaboklab(45.87% -0.0025 -0.1424)
OKLCHoklch(45.87% 0.142 269)
XYZxyz(11.3075, 9.1849, 37.2460)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384FA6 #A68F38
analogous
#3886A6 #384FA6 #5838A6
triadic
#384FA6 #A6384F #4FA638
tetradic
#384FA6 #A63886 #A68F38 #38A658
square
#384FA6 #A63886 #A68F38 #38A658
split-complementary
#384FA6 #A65838 #86A638
monochromatic
#19234A #293978 #384FA6 #556DC6 #8394D5

Accessibility & contrast

On white

7.40
#384FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #384FA6
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384FA6#FFFFFF#000000##FFFFFF
##384FA61.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5BA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #384fa6;
/* rgb */ color: rgb(56, 79, 166);
/* oklch */ color: oklch(45.9% 0.142 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b80c1',
    500: '#384fa6',
    950: '#000000',
  },
}
SCSS
$custom: #384fa6;
$custom-light: #7b80c1;
$custom-dark: #000000;
JSON
{
  "hex": "#384fa6",
  "rgb": {
    "r": 56,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 227.455,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.14247,
    "h": 269
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#384FA6
secondary
#BFB17B
accent
#BC4FD9
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #384FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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