#384A9F#384A9F

#384A9F is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.139 H 270.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#384A9F
RGBrgb(56, 74, 159)
HSLhsl(230, 48%, 42%)
HSVhsv(230, 65%, 62%)
CMYKcmyk(64.8%, 53.5%, 0%, 37.6%)
CIE-LABlab(34.48, 21.07, -48.44)
CIE-LCHlch(34.48, 52.83, 293.51°)
OKLaboklab(44.31% 0.0018 -0.139)
OKLCHoklch(44.31% 0.139 270.7)
XYZxyz(10.3356, 8.2406, 33.8401)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384A9F #9F8D38
analogous
#387D9F #384A9F #5A389F
triadic
#384A9F #9F384A #4A9F38
tetradic
#384A9F #9F387D #9F8D38 #389F5A
square
#384A9F #9F387D #9F8D38 #389F5A
split-complementary
#384A9F #9F5A38 #7D9F38
monochromatic
#182044 #283572 #384A9F #5266C2 #7F8ED2

Accessibility & contrast

On white

7.93
#384A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#384A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384A9F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384A9F#FFFFFF#000000##FFFFFF
##384A9F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1456A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #384a9f;
/* rgb */ color: rgb(56, 74, 159);
/* oklch */ color: oklch(44.3% 0.139 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a7cbc',
    500: '#384a9f',
    950: '#000000',
  },
}
SCSS
$custom: #384a9f;
$custom-light: #7a7cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#384a9f",
  "rgb": {
    "r": 56,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 229.515,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44312,
    "c": 0.13901,
    "h": 270.7
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#384A9F
secondary
#BBB077
accent
#C050D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #384A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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