#354587#354587

#354587 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.3% C 0.111 H 270.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#354587
RGBrgb(53, 69, 135)
HSLhsl(228, 44%, 37%)
HSVhsv(228, 61%, 53%)
CMYKcmyk(60.7%, 48.9%, 0%, 47.1%)
CIE-LABlab(31.26, 15.13, -39.00)
CIE-LCHlch(31.26, 41.83, 291.20°)
OKLaboklab(41.3% 0.0012 -0.1114)
OKLCHoklch(41.3% 0.111 270.6)
XYZxyz(7.9680, 6.7618, 23.8022)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354587 #877735
analogous
#356E87 #354587 #4E3587
triadic
#354587 #873545 #458735
tetradic
#354587 #87356E #877735 #35874E
square
#354587 #87356E #877735 #35874E
split-complementary
#354587 #874E35 #6E8735
monochromatic
#12182F #242F5B #354587 #465BB3 #7081C7

Accessibility & contrast

On white

8.93
#354587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#354587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354587
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354587#FFFFFF#000000##FFFFFF
##3545871.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D89
Deuteranopia (green-blind)
#184686
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #354587;
/* rgb */ color: rgb(53, 69, 135);
/* oklch */ color: oklch(41.3% 0.111 270.6);
Tailwind
colors: {
  custom: {
    50: '#7478aa',
    500: '#354587',
    950: '#000000',
  },
}
SCSS
$custom: #354587;
$custom-light: #7478aa;
$custom-dark: #000000;
JSON
{
  "hex": "#354587",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 228.293,
    "s": 43.617,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41299,
    "c": 0.11138,
    "h": 270.6
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#354587
secondary
#AFA169
accent
#BB54D3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #354587

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

Preview Lab → · Contrast checker → · Palette generator →

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