#394165#394165

#394165 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.062 H 273.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#394165
RGBrgb(57, 65, 101)
HSLhsl(229, 28%, 31%)
HSVhsv(229, 44%, 40%)
CMYKcmyk(43.6%, 35.6%, 0%, 60.4%)
CIE-LABlab(28.35, 7.09, -22.20)
CIE-LCHlch(28.35, 23.31, 287.70°)
OKLaboklab(38.49% 0.0039 -0.0622)
OKLCHoklch(38.49% 0.062 273.6)
XYZxyz(5.9259, 5.5898, 13.0761)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394165 #655D39
analogous
#395765 #394165 #473965
triadic
#394165 #653941 #416539
tetradic
#394165 #653957 #655D39 #396547
square
#394165 #653957 #655D39 #396547
split-complementary
#394165 #654739 #576539
monochromatic
#0D0F17 #23283E #394165 #4F5A8C #6C78AC

Accessibility & contrast

On white

9.92
#394165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#394165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394165
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394165#FFFFFF#000000##FFFFFF
##3941651.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354566
Deuteranopia (green-blind)
#314164
Tritanopia (blue-blind)
#2B484E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #394165;
/* rgb */ color: rgb(57, 65, 101);
/* oklch */ color: oklch(38.5% 0.062 273.6);
Tailwind
colors: {
  custom: {
    50: '#717591',
    500: '#394165',
    950: '#000000',
  },
}
SCSS
$custom: #394165;
$custom-light: #717591;
$custom-dark: #000000;
JSON
{
  "hex": "#394165",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 101
  },
  "hsl": {
    "h": 229.091,
    "s": 27.848,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38492,
    "c": 0.06233,
    "h": 273.6
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#394165
secondary
#958C65
accent
#B364C4
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #394165

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

Preview Lab → · Contrast checker → · Palette generator →

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