#394284#394284

#394284 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.7% C 0.110 H 274.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#394284
RGBrgb(57, 66, 132)
HSLhsl(233, 40%, 37%)
HSVhsv(233, 57%, 52%)
CMYKcmyk(56.8%, 50%, 0%, 48.2%)
CIE-LABlab(30.48, 16.94, -38.38)
CIE-LCHlch(30.48, 41.96, 293.82°)
OKLaboklab(40.71% 0.0088 -0.1095)
OKLCHoklch(40.71% 0.11 274.6)
XYZxyz(7.7991, 6.4317, 22.6558)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394284 #847B39
analogous
#396884 #394284 #563984
triadic
#394284 #843942 #428439
tetradic
#394284 #843968 #847B39 #398456
square
#394284 #843968 #847B39 #398456
split-complementary
#394284 #845639 #688439
monochromatic
#14172F #272D59 #394284 #4B57AF #747EC3

Accessibility & contrast

On white

9.18
#394284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394284
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394284#FFFFFF#000000##FFFFFF
##3942841.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B86
Deuteranopia (green-blind)
#184583
Tritanopia (blue-blind)
#12515C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394284;
/* rgb */ color: rgb(57, 66, 132);
/* oklch */ color: oklch(40.7% 0.110 274.6);
Tailwind
colors: {
  custom: {
    50: '#7676a8',
    500: '#394284',
    950: '#000000',
  },
}
SCSS
$custom: #394284;
$custom-light: #7676a8;
$custom-dark: #000000;
JSON
{
  "hex": "#394284",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 232.8,
    "s": 39.683,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40712,
    "c": 0.10985,
    "h": 274.6
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#394284
secondary
#ACA56D
accent
#C158D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394284

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

Preview Lab → · Contrast checker → · Palette generator →

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