#354097#354097

#354097 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.142 H 273.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#354097
RGBrgb(53, 64, 151)
HSLhsl(233, 48%, 40%)
HSVhsv(233, 65%, 59%)
CMYKcmyk(64.9%, 57.6%, 0%, 40.8%)
CIE-LABlab(31.01, 24.28, -49.21)
CIE-LCHlch(31.01, 54.88, 296.26°)
OKLaboklab(41.48% 0.0077 -0.1415)
OKLCHoklch(41.48% 0.142 273.1)
XYZxyz(8.8857, 6.6573, 30.0889)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354097 #978C35
analogous
#357197 #354097 #5B3597
triadic
#354097 #973540 #409735
tetradic
#354097 #973571 #978C35 #35975B
square
#354097 #973571 #978C35 #35975B
split-complementary
#354097 #975B35 #719735
monochromatic
#151A3C #252D6A #354097 #4A57BF #7781CF

Accessibility & contrast

On white

9.01
#354097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#354097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354097
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354097#FFFFFF#000000##FFFFFF
##3540971.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #354097;
/* rgb */ color: rgb(53, 64, 151);
/* oklch */ color: oklch(41.5% 0.142 273.1);
Tailwind
colors: {
  custom: {
    50: '#7774b6',
    500: '#354097',
    950: '#000000',
  },
}
SCSS
$custom: #354097;
$custom-light: #7774b6;
$custom-dark: #000000;
JSON
{
  "hex": "#354097",
  "rgb": {
    "r": 53,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 233.265,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.41477,
    "c": 0.14168,
    "h": 273.1
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#354097
secondary
#B8B070
accent
#C850D8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #354097

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

Preview Lab → · Contrast checker → · Palette generator →

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