#354187#354187

#354187 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.4% C 0.117 H 272.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#354187
RGBrgb(53, 65, 135)
HSLhsl(231, 44%, 37%)
HSVhsv(231, 61%, 53%)
CMYKcmyk(60.7%, 51.9%, 0%, 47.1%)
CIE-LABlab(30.12, 17.82, -40.82)
CIE-LCHlch(30.12, 44.55, 293.59°)
OKLaboklab(40.44% 0.0057 -0.1168)
OKLCHoklch(40.44% 0.117 272.8)
XYZxyz(7.7302, 6.2861, 23.7230)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354187 #877B35
analogous
#356A87 #354187 #523587
triadic
#354187 #873541 #418735
tetradic
#354187 #87356A #877B35 #358752
square
#354187 #87356A #877B35 #358752
split-complementary
#354187 #875235 #6A8735
monochromatic
#12172F #242C5B #354187 #4656B3 #707CC7

Accessibility & contrast

On white

9.30
#354187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#354187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354187
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354187#FFFFFF#000000##FFFFFF
##3541871.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8A
Deuteranopia (green-blind)
#0B4486
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #354187;
/* rgb */ color: rgb(53, 65, 135);
/* oklch */ color: oklch(40.4% 0.117 272.8);
Tailwind
colors: {
  custom: {
    50: '#7475aa',
    500: '#354187',
    950: '#000000',
  },
}
SCSS
$custom: #354187;
$custom-light: #7475aa;
$custom-dark: #000000;
JSON
{
  "hex": "#354187",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 231.22,
    "s": 43.617,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.11692,
    "h": 272.8
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#354187
secondary
#AFA569
accent
#C154D3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #354187

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

Preview Lab → · Contrast checker → · Palette generator →

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