#395084#395084

#395084 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.091 H 264.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#395084
RGBrgb(57, 80, 132)
HSLhsl(222, 40%, 37%)
HSVhsv(222, 57%, 52%)
CMYKcmyk(56.8%, 39.4%, 0%, 48.2%)
CIE-LABlab(34.54, 7.64, -31.90)
CIE-LCHlch(34.54, 32.80, 283.47°)
OKLaboklab(43.83% -0.0081 -0.0903)
OKLCHoklch(43.83% 0.091 264.9)
XYZxyz(8.7195, 8.2725, 22.9626)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395084 #846D39
analogous
#397684 #395084 #483984
triadic
#395084 #843950 #508439
tetradic
#395084 #843976 #846D39 #398448
square
#395084 #843976 #846D39 #398448
split-complementary
#395084 #844839 #768439
monochromatic
#141C2F #273659 #395084 #4B6AAF #748CC3

Accessibility & contrast

On white

7.91
#395084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#395084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395084
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395084#FFFFFF#000000##FFFFFF
##3950841.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5586
Deuteranopia (green-blind)
#324E83
Tritanopia (blue-blind)
#0D5B63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #395084;
/* rgb */ color: rgb(57, 80, 132);
/* oklch */ color: oklch(43.8% 0.091 264.9);
Tailwind
colors: {
  custom: {
    50: '#7580a8',
    500: '#395084',
    950: '#000000',
  },
}
SCSS
$custom: #395084;
$custom-light: #7580a8;
$custom-dark: #000000;
JSON
{
  "hex": "#395084",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 132
  },
  "hsl": {
    "h": 221.6,
    "s": 39.683,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43827,
    "c": 0.0907,
    "h": 264.9
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#395084
secondary
#AC996D
accent
#AB58D0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #395084

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

Preview Lab → · Contrast checker → · Palette generator →

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