#394286#394286

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

Color values

HEX#394286
RGBrgb(57, 66, 134)
HSLhsl(233, 40%, 37%)
HSVhsv(233, 57%, 53%)
CMYKcmyk(57.5%, 50.7%, 0%, 47.5%)
CIE-LABlab(30.61, 17.65, -39.41)
CIE-LCHlch(30.61, 43.18, 294.12°)
OKLaboklab(40.86% 0.0091 -0.1125)
OKLCHoklch(40.86% 0.113 274.6)
XYZxyz(7.9372, 6.4870, 23.3835)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394286 #867D39
analogous
#396986 #394286 #573986
triadic
#394286 #863942 #428639
tetradic
#394286 #863969 #867D39 #398657
square
#394286 #863969 #867D39 #398657
split-complementary
#394286 #865739 #698639
monochromatic
#141830 #272D5B #394286 #4B57B1 #757EC4

Accessibility & contrast

On white

9.14
#394286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#394286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394286
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394286#FFFFFF#000000##FFFFFF
##3942861.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B88
Deuteranopia (green-blind)
#154585
Tritanopia (blue-blind)
#0E515D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394286;
/* rgb */ color: rgb(57, 66, 134);
/* oklch */ color: oklch(40.9% 0.113 274.6);
Tailwind
colors: {
  custom: {
    50: '#7676aa',
    500: '#394286',
    950: '#000000',
  },
}
SCSS
$custom: #394286;
$custom-light: #7676aa;
$custom-dark: #000000;
JSON
{
  "hex": "#394286",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 232.987,
    "s": 40.314,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.11287,
    "h": 274.6
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394286

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

Preview Lab → · Contrast checker → · Palette generator →

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