#354495#354495

#354495 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.133 H 271.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#354495
RGBrgb(53, 68, 149)
HSLhsl(231, 48%, 40%)
HSVhsv(231, 64%, 58%)
CMYKcmyk(64.4%, 54.4%, 0%, 41.6%)
CIE-LABlab(31.94, 20.89, -46.49)
CIE-LCHlch(31.94, 50.97, 294.20°)
OKLaboklab(42.13% 0.0037 -0.1334)
OKLCHoklch(42.13% 0.133 271.6)
XYZxyz(8.9583, 7.0603, 29.3186)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354495 #958635
analogous
#357495 #354495 #563595
triadic
#354495 #953544 #449535
tetradic
#354495 #953574 #958635 #359556
square
#354495 #953574 #958635 #359556
split-complementary
#354495 #955635 #749535
monochromatic
#151B3B #252F68 #354495 #495BBE #7684CE

Accessibility & contrast

On white

8.71
#354495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #354495
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354495#FFFFFF#000000##FFFFFF
##3544951.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5098
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #354495;
/* rgb */ color: rgb(53, 68, 149);
/* oklch */ color: oklch(42.1% 0.133 271.6);
Tailwind
colors: {
  custom: {
    50: '#7777b5',
    500: '#354495',
    950: '#000000',
  },
}
SCSS
$custom: #354495;
$custom-light: #7777b5;
$custom-dark: #000000;
JSON
{
  "hex": "#354495",
  "rgb": {
    "r": 53,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 230.625,
    "s": 47.525,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42127,
    "c": 0.13346,
    "h": 271.6
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#354495
secondary
#B7AC6F
accent
#C251D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #354495

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

Preview Lab → · Contrast checker → · Palette generator →

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