#384E97#384E97

#384E97 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.122 H 268.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#384E97
RGBrgb(56, 78, 151)
HSLhsl(226, 46%, 41%)
HSVhsv(226, 63%, 59%)
CMYKcmyk(62.9%, 48.3%, 0%, 40.8%)
CIE-LABlab(35.05, 15.52, -42.69)
CIE-LCHlch(35.05, 45.43, 289.98°)
OKLaboklab(44.57% -0.0032 -0.122)
OKLCHoklch(44.57% 0.122 268.5)
XYZxyz(9.9393, 8.5230, 30.3935)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384E97 #978138
analogous
#387D97 #384E97 #513897
triadic
#384E97 #97384E #4E9738
tetradic
#384E97 #97387D #978138 #389751
square
#384E97 #97387D #978138 #389751
split-complementary
#384E97 #975138 #7D9738
monochromatic
#17203E #27376A #384E97 #4F68BE #7B8ECE

Accessibility & contrast

On white

7.76
#384E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#384E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384E97
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384E97#FFFFFF#000000##FFFFFF
##384E971.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#194E95
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #384e97;
/* rgb */ color: rgb(56, 78, 151);
/* oklch */ color: oklch(44.6% 0.122 268.5);
Tailwind
colors: {
  custom: {
    50: '#787fb6',
    500: '#384e97',
    950: '#000000',
  },
}
SCSS
$custom: #384e97;
$custom-light: #787fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#384e97",
  "rgb": {
    "r": 56,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 226.105,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4457,
    "c": 0.12208,
    "h": 268.5
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#384E97
secondary
#B7A873
accent
#B752D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #384E97

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

Preview Lab → · Contrast checker → · Palette generator →

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