#394282#394282

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

Color values

HEX#394282
RGBrgb(57, 66, 130)
HSLhsl(233, 39%, 37%)
HSVhsv(233, 56%, 51%)
CMYKcmyk(56.2%, 49.2%, 0%, 49%)
CIE-LABlab(30.35, 16.24, -37.35)
CIE-LCHlch(30.35, 40.73, 293.50°)
OKLaboklab(40.57% 0.0086 -0.1064)
OKLCHoklch(40.57% 0.107 274.6)
XYZxyz(7.6635, 6.3775, 21.9419)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394282 #827939
analogous
#396782 #394282 #553982
triadic
#394282 #823942 #428239
tetradic
#394282 #823967 #827939 #398255
square
#394282 #823967 #827939 #398255
split-complementary
#394282 #825539 #678239
monochromatic
#14172D #262C57 #394282 #4C58AD #747DC2

Accessibility & contrast

On white

9.23
#394282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#394282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394282
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394282#FFFFFF#000000##FFFFFF
##3942821.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B84
Deuteranopia (green-blind)
#1B4581
Tritanopia (blue-blind)
#15505B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394282;
/* rgb */ color: rgb(57, 66, 130);
/* oklch */ color: oklch(40.6% 0.107 274.6);
Tailwind
colors: {
  custom: {
    50: '#7576a7',
    500: '#394282',
    950: '#000000',
  },
}
SCSS
$custom: #394282;
$custom-light: #7576a7;
$custom-dark: #000000;
JSON
{
  "hex": "#394282",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 232.603,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4057,
    "c": 0.10679,
    "h": 274.6
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#394282
secondary
#ABA36C
accent
#C059CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #394282

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

Preview Lab → · Contrast checker → · Palette generator →

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