#394168#394168

#394168 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.067 H 274.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#394168
RGBrgb(57, 65, 104)
HSLhsl(230, 29%, 32%)
HSVhsv(230, 45%, 41%)
CMYKcmyk(45.2%, 37.5%, 0%, 59.2%)
CIE-LABlab(28.51, 8.06, -23.88)
CIE-LCHlch(28.51, 25.20, 288.66°)
OKLaboklab(38.67% 0.0047 -0.0671)
OKLCHoklch(38.67% 0.067 274)
XYZxyz(6.0756, 5.6496, 13.8644)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394168 #686039
analogous
#395968 #394168 #493968
triadic
#394168 #683941 #416839
tetradic
#394168 #683959 #686039 #396849
square
#394168 #683959 #686039 #396849
split-complementary
#394168 #684939 #596839
monochromatic
#0E1019 #232840 #394168 #4F5A90 #6D78AF

Accessibility & contrast

On white

9.86
#394168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#394168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394168
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394168#FFFFFF#000000##FFFFFF
##3941681.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33456A
Deuteranopia (green-blind)
#2F4167
Tritanopia (blue-blind)
#29494F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #394168;
/* rgb */ color: rgb(57, 65, 104);
/* oklch */ color: oklch(38.7% 0.067 274.0);
Tailwind
colors: {
  custom: {
    50: '#727593',
    500: '#394168',
    950: '#000000',
  },
}
SCSS
$custom: #394168;
$custom-light: #727593;
$custom-dark: #000000;
JSON
{
  "hex": "#394168",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 104
  },
  "hsl": {
    "h": 229.787,
    "s": 29.193,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38666,
    "c": 0.06723,
    "h": 274
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#394168
secondary
#988F65
accent
#B562C5
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#08080D
muted
#7B7B7E

Preview Lab

Preview with #394168

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

Preview Lab → · Contrast checker → · Palette generator →

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