#394875#394875

#394875 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.078 H 268.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#394875
RGBrgb(57, 72, 117)
HSLhsl(225, 34%, 34%)
HSVhsv(225, 51%, 46%)
CMYKcmyk(51.3%, 38.5%, 0%, 54.1%)
CIE-LABlab(31.32, 7.74, -27.68)
CIE-LCHlch(31.32, 28.74, 285.61°)
OKLaboklab(41.06% -0.0016 -0.0781)
OKLCHoklch(41.06% 0.078 268.8)
XYZxyz(7.2146, 6.7885, 17.7563)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394875 #756639
analogous
#396675 #394875 #483975
triadic
#394875 #753948 #487539
tetradic
#394875 #753966 #756639 #397548
square
#394875 #753966 #756639 #397548
split-complementary
#394875 #754839 #667539
monochromatic
#111523 #252F4C #394875 #4D619E #6F82B9

Accessibility & contrast

On white

8.91
#394875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#394875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394875
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394875#FFFFFF#000000##FFFFFF
##3948751.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D77
Deuteranopia (green-blind)
#314774
Tritanopia (blue-blind)
#205259
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394875;
/* rgb */ color: rgb(57, 72, 117);
/* oklch */ color: oklch(41.1% 0.078 268.8);
Tailwind
colors: {
  custom: {
    50: '#737a9d',
    500: '#394875',
    950: '#000000',
  },
}
SCSS
$custom: #394875;
$custom-light: #737a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#394875",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 225,
    "s": 34.483,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41064,
    "c": 0.07811,
    "h": 268.8
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#394875
secondary
#A29467
accent
#AF5DCB
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #394875

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

Preview Lab → · Contrast checker → · Palette generator →

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