#384995#384995

#384995 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.126 H 270.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#384995
RGBrgb(56, 73, 149)
HSLhsl(229, 45%, 40%)
HSVhsv(229, 62%, 58%)
CMYKcmyk(62.4%, 51%, 0%, 41.6%)
CIE-LABlab(33.51, 18.12, -43.95)
CIE-LCHlch(33.51, 47.54, 292.40°)
OKLaboklab(43.36% 0.0018 -0.1258)
OKLCHoklch(43.36% 0.126 270.8)
XYZxyz(9.4364, 7.7750, 29.4314)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384995 #958438
analogous
#387895 #384995 #553895
triadic
#384995 #953849 #499538
tetradic
#384995 #953878 #958438 #389555
square
#384995 #953878 #958438 #389555
split-complementary
#384995 #955538 #789538
monochromatic
#171D3C #273369 #384995 #4E62BC #7A89CD

Accessibility & contrast

On white

8.22
#384995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#384995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384995
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384995#FFFFFF#000000##FFFFFF
##3849951.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#0B4B93
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #384995;
/* rgb */ color: rgb(56, 73, 149);
/* oklch */ color: oklch(43.4% 0.126 270.8);
Tailwind
colors: {
  custom: {
    50: '#787bb5',
    500: '#384995',
    950: '#000000',
  },
}
SCSS
$custom: #384995;
$custom-light: #787bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#384995",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 149
  },
  "hsl": {
    "h": 229.032,
    "s": 45.366,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43358,
    "c": 0.12582,
    "h": 270.8
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#384995
secondary
#B6AA73
accent
#BD53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #384995

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

Preview Lab → · Contrast checker → · Palette generator →

#384995 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva