#394296#394296

#394296 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.136 H 274.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#394296
RGBrgb(57, 66, 150)
HSLhsl(234, 45%, 41%)
HSVhsv(234, 62%, 59%)
CMYKcmyk(62%, 56%, 0%, 41.2%)
CIE-LABlab(31.73, 23.32, -47.42)
CIE-LCHlch(31.73, 52.85, 296.18°)
OKLaboklab(42.06% 0.0103 -0.1361)
OKLCHoklch(42.06% 0.136 274.3)
XYZxyz(9.1388, 6.9676, 29.7115)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394296 #968D39
analogous
#397096 #394296 #5F3996
triadic
#394296 #963942 #429639
tetradic
#394296 #963970 #968D39 #39965F
square
#394296 #963970 #968D39 #39965F
split-complementary
#394296 #965F39 #709639
monochromatic
#171B3D #282E6A #394296 #505ABC #7C84CD

Accessibility & contrast

On white

8.77
#394296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394296
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394296#FFFFFF#000000##FFFFFF
##3942961.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F99
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #394296;
/* rgb */ color: rgb(57, 66, 150);
/* oklch */ color: oklch(42.1% 0.136 274.3);
Tailwind
colors: {
  custom: {
    50: '#7976b5',
    500: '#394296',
    950: '#000000',
  },
}
SCSS
$custom: #394296;
$custom-light: #7976b5;
$custom-dark: #000000;
JSON
{
  "hex": "#394296",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 234.194,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.13648,
    "h": 274.3
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#394296
secondary
#B7B074
accent
#C853D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394296

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

Preview Lab → · Contrast checker → · Palette generator →

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