#394299#394299

#394299 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.141 H 274.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#394299
RGBrgb(57, 66, 153)
HSLhsl(234, 46%, 41%)
HSVhsv(234, 63%, 60%)
CMYKcmyk(62.7%, 56.9%, 0%, 40%)
CIE-LABlab(31.96, 24.38, -48.89)
CIE-LCHlch(31.96, 54.63, 296.51°)
OKLaboklab(42.3% 0.0104 -0.1404)
OKLCHoklch(42.3% 0.141 274.2)
XYZxyz(9.3834, 7.0654, 31.0001)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394299 #999039
analogous
#397299 #394299 #603999
triadic
#394299 #993942 #429939
tetradic
#394299 #993972 #999039 #399960
square
#394299 #993972 #999039 #399960
split-complementary
#394299 #996039 #729939
monochromatic
#181C40 #282F6C #394299 #515BBE #7E85CF

Accessibility & contrast

On white

8.70
#394299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#394299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394299
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394299#FFFFFF#000000##FFFFFF
##3942991.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #394299;
/* rgb */ color: rgb(57, 66, 153);
/* oklch */ color: oklch(42.3% 0.141 274.2);
Tailwind
colors: {
  custom: {
    50: '#7a76b8',
    500: '#394299',
    950: '#000000',
  },
}
SCSS
$custom: #394299;
$custom-light: #7a76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#394299",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 234.375,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.14079,
    "h": 274.2
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#394299
secondary
#B8B276
accent
#C952D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394299

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

Preview Lab → · Contrast checker → · Palette generator →

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