#394295#394295

#394295 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.135 H 274.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#394295
RGBrgb(57, 66, 149)
HSLhsl(234, 45%, 40%)
HSVhsv(234, 62%, 58%)
CMYKcmyk(61.7%, 55.7%, 0%, 41.6%)
CIE-LABlab(31.66, 22.96, -46.93)
CIE-LCHlch(31.66, 52.25, 296.07°)
OKLaboklab(41.98% 0.0103 -0.1346)
OKLCHoklch(41.98% 0.135 274.4)
XYZxyz(9.0586, 6.9355, 29.2893)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394295 #958C39
analogous
#397095 #394295 #5E3995
triadic
#394295 #953942 #429539
tetradic
#394295 #953970 #958C39 #39955E
square
#394295 #953970 #958C39 #39955E
split-complementary
#394295 #955E39 #709539
monochromatic
#171B3C #282E69 #394295 #4F5ABC #7C84CD

Accessibility & contrast

On white

8.80
#394295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#394295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394295
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394295#FFFFFF#000000##FFFFFF
##3942951.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074F98
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394295;
/* rgb */ color: rgb(57, 66, 149);
/* oklch */ color: oklch(42.0% 0.135 274.4);
Tailwind
colors: {
  custom: {
    50: '#7976b5',
    500: '#394295',
    950: '#000000',
  },
}
SCSS
$custom: #394295;
$custom-light: #7976b5;
$custom-dark: #000000;
JSON
{
  "hex": "#394295",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 234.13,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41981,
    "c": 0.13503,
    "h": 274.4
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#394295
secondary
#B6B074
accent
#C853D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394295

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

Preview Lab → · Contrast checker → · Palette generator →

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