#394285#394285

#394285 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.8% C 0.111 H 274.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#394285
RGBrgb(57, 66, 133)
HSLhsl(233, 40%, 37%)
HSVhsv(233, 57%, 52%)
CMYKcmyk(57.1%, 50.4%, 0%, 47.8%)
CIE-LABlab(30.54, 17.29, -38.90)
CIE-LCHlch(30.54, 42.57, 293.97°)
OKLaboklab(40.78% 0.009 -0.111)
OKLCHoklch(40.78% 0.111 274.6)
XYZxyz(7.8678, 6.4592, 23.0179)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394285 #857C39
analogous
#396885 #394285 #563985
triadic
#394285 #853942 #428539
tetradic
#394285 #853968 #857C39 #398556
square
#394285 #853968 #857C39 #398556
split-complementary
#394285 #855639 #688539
monochromatic
#14172F #272D5A #394285 #4B57B0 #757EC4

Accessibility & contrast

On white

9.16
#394285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#394285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394285
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394285#FFFFFF#000000##FFFFFF
##3942851.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B87
Deuteranopia (green-blind)
#174584
Tritanopia (blue-blind)
#10515D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394285;
/* rgb */ color: rgb(57, 66, 133);
/* oklch */ color: oklch(40.8% 0.111 274.6);
Tailwind
colors: {
  custom: {
    50: '#7676a9',
    500: '#394285',
    950: '#000000',
  },
}
SCSS
$custom: #394285;
$custom-light: #7676a9;
$custom-dark: #000000;
JSON
{
  "hex": "#394285",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 232.895,
    "s": 40,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.11136,
    "h": 274.6
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#394285
secondary
#ADA56D
accent
#C258D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394285

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

Preview Lab → · Contrast checker → · Palette generator →

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