#394895#394895

#394895 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.127 H 271.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#394895
RGBrgb(57, 72, 149)
HSLhsl(230, 45%, 40%)
HSVhsv(230, 62%, 58%)
CMYKcmyk(61.7%, 51.7%, 0%, 41.6%)
CIE-LABlab(33.29, 18.98, -44.30)
CIE-LCHlch(33.29, 48.19, 293.19°)
OKLaboklab(43.21% 0.004 -0.1268)
OKLCHoklch(43.21% 0.127 271.8)
XYZxyz(9.4277, 7.6738, 29.4123)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394895 #958639
analogous
#397695 #394895 #583995
triadic
#394895 #953948 #489539
tetradic
#394895 #953976 #958639 #399558
square
#394895 #953976 #958639 #399558
split-complementary
#394895 #955839 #769539
monochromatic
#171D3C #283369 #394895 #4F61BC #7C89CD

Accessibility & contrast

On white

8.28
#394895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#394895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394895
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394895#FFFFFF#000000##FFFFFF
##3948951.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5398
Deuteranopia (green-blind)
#084A93
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #394895;
/* rgb */ color: rgb(57, 72, 149);
/* oklch */ color: oklch(43.2% 0.127 271.8);
Tailwind
colors: {
  custom: {
    50: '#787ab5',
    500: '#394895',
    950: '#000000',
  },
}
SCSS
$custom: #394895;
$custom-light: #787ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#394895",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 230.217,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43211,
    "c": 0.12687,
    "h": 271.8
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#394895
secondary
#B6AB74
accent
#BF53D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394895

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

Preview Lab → · Contrast checker → · Palette generator →

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