#384F9D#384F9D

#384F9D is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.130 H 268.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#384F9D
RGBrgb(56, 79, 157)
HSLhsl(226, 47%, 42%)
HSVhsv(226, 64%, 62%)
CMYKcmyk(64.3%, 49.7%, 0%, 38.4%)
CIE-LABlab(35.73, 17.04, -45.23)
CIE-LCHlch(35.73, 48.33, 290.64°)
OKLaboklab(45.21% -0.0035 -0.1295)
OKLCHoklch(45.21% 0.13 268.5)
XYZxyz(10.5106, 8.8661, 33.0492)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384F9D #9D8638
analogous
#38829D #384F9D #54389D
triadic
#384F9D #9D384F #4F9D38
tetradic
#384F9D #9D3882 #9D8638 #389D54
square
#384F9D #9D3882 #9D8638 #389D54
split-complementary
#384F9D #9D5438 #829D38
monochromatic
#182243 #283870 #384F9D #516BC1 #7E91D1

Accessibility & contrast

On white

7.57
#384F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #384F9D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384F9D#FFFFFF#000000##FFFFFF
##384F9D1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#0F509B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #384f9d;
/* rgb */ color: rgb(56, 79, 157);
/* oklch */ color: oklch(45.2% 0.130 268.5);
Tailwind
colors: {
  custom: {
    50: '#797fba',
    500: '#384f9d',
    950: '#000000',
  },
}
SCSS
$custom: #384f9d;
$custom-light: #797fba;
$custom-dark: #000000;
JSON
{
  "hex": "#384f9d",
  "rgb": {
    "r": 56,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 226.337,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45212,
    "c": 0.12953,
    "h": 268.5
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#384F9D
secondary
#BAAB76
accent
#B851D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #384F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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