#394B95#394B95

#394B95 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.123 H 270.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#394B95
RGBrgb(57, 75, 149)
HSLhsl(228, 45%, 40%)
HSVhsv(228, 62%, 58%)
CMYKcmyk(61.7%, 49.7%, 0%, 41.6%)
CIE-LABlab(34.13, 16.99, -42.95)
CIE-LCHlch(34.13, 46.19, 291.58°)
OKLaboklab(43.85% 0.0008 -0.1228)
OKLCHoklch(43.85% 0.123 270.4)
XYZxyz(9.6264, 8.0711, 29.4785)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394B95 #958339
analogous
#397995 #394B95 #553995
triadic
#394B95 #95394B #4B9539
tetradic
#394B95 #953979 #958339 #399555
square
#394B95 #953979 #958339 #399555
split-complementary
#394B95 #955539 #799539
monochromatic
#171E3C #283569 #394B95 #4F65BC #7C8CCD

Accessibility & contrast

On white

8.03
#394B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#394B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394B95
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394B95#FFFFFF#000000##FFFFFF
##394B951.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255598
Deuteranopia (green-blind)
#144C93
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #394b95;
/* rgb */ color: rgb(57, 75, 149);
/* oklch */ color: oklch(43.8% 0.123 270.4);
Tailwind
colors: {
  custom: {
    50: '#787db5',
    500: '#394b95',
    950: '#000000',
  },
}
SCSS
$custom: #394b95;
$custom-light: #787db5;
$custom-dark: #000000;
JSON
{
  "hex": "#394b95",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 228.261,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43845,
    "c": 0.12282,
    "h": 270.4
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#394B95
secondary
#B6A974
accent
#BB53D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394B95

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

Preview Lab → · Contrast checker → · Palette generator →

#394B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva