#354087#354087

#354087 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.118 H 273.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#354087
RGBrgb(53, 64, 135)
HSLhsl(232, 44%, 37%)
HSVhsv(232, 61%, 53%)
CMYKcmyk(60.7%, 52.6%, 0%, 47.1%)
CIE-LABlab(29.84, 18.50, -41.27)
CIE-LCHlch(29.84, 45.23, 294.14°)
OKLaboklab(40.23% 0.0068 -0.1181)
OKLCHoklch(40.23% 0.118 273.3)
XYZxyz(7.6733, 6.1724, 23.7040)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354087 #877C35
analogous
#356987 #354087 #533587
triadic
#354087 #873540 #408735
tetradic
#354087 #873569 #877C35 #358753
square
#354087 #873569 #877C35 #358753
split-complementary
#354087 #875335 #698735
monochromatic
#12162F #242B5B #354087 #4655B3 #707BC7

Accessibility & contrast

On white

9.40
#354087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#354087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354087
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354087#FFFFFF#000000##FFFFFF
##3540871.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#064386
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #354087;
/* rgb */ color: rgb(53, 64, 135);
/* oklch */ color: oklch(40.2% 0.118 273.3);
Tailwind
colors: {
  custom: {
    50: '#7474aa',
    500: '#354087',
    950: '#000000',
  },
}
SCSS
$custom: #354087;
$custom-light: #7474aa;
$custom-dark: #000000;
JSON
{
  "hex": "#354087",
  "rgb": {
    "r": 53,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 231.951,
    "s": 43.617,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40226,
    "c": 0.11831,
    "h": 273.3
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#354087
secondary
#AFA669
accent
#C254D3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #354087

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

Preview Lab → · Contrast checker → · Palette generator →

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