#354789#354789

#354789 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.112 H 269.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#354789
RGBrgb(53, 71, 137)
HSLhsl(227, 44%, 37%)
HSVhsv(227, 61%, 54%)
CMYKcmyk(61.3%, 48.2%, 0%, 46.3%)
CIE-LABlab(31.96, 14.51, -39.10)
CIE-LCHlch(31.96, 41.71, 290.36°)
OKLaboklab(41.88% -0.0008 -0.1116)
OKLCHoklch(41.88% 0.112 269.6)
XYZxyz(8.2353, 7.0688, 24.5925)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354789 #897735
analogous
#357189 #354789 #4D3589
triadic
#354789 #893547 #478935
tetradic
#354789 #893571 #897735 #35894D
square
#354789 #893571 #897735 #35894D
split-complementary
#354789 #894D35 #718935
monochromatic
#131931 #24305D #354789 #465EB5 #7183C8

Accessibility & contrast

On white

8.70
#354789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#354789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354789
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354789#FFFFFF#000000##FFFFFF
##3547891.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#1A4888
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #354789;
/* rgb */ color: rgb(53, 71, 137);
/* oklch */ color: oklch(41.9% 0.112 269.6);
Tailwind
colors: {
  custom: {
    50: '#7479ac',
    500: '#354789',
    950: '#000000',
  },
}
SCSS
$custom: #354789;
$custom-light: #7479ac;
$custom-dark: #000000;
JSON
{
  "hex": "#354789",
  "rgb": {
    "r": 53,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 227.143,
    "s": 44.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41878,
    "c": 0.11165,
    "h": 269.6
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#354789
secondary
#B0A16A
accent
#B854D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #354789

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

Preview Lab → · Contrast checker → · Palette generator →

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