#354871#354871

#354871 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.073 H 264.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#354871
RGBrgb(53, 72, 113)
HSLhsl(221, 36%, 33%)
HSVhsv(221, 53%, 44%)
CMYKcmyk(53.1%, 36.3%, 0%, 55.7%)
CIE-LABlab(30.84, 5.32, -25.94)
CIE-LCHlch(30.84, 26.48, 281.59°)
OKLaboklab(40.55% -0.0071 -0.0731)
OKLCHoklch(40.55% 0.073 264.5)
XYZxyz(6.7652, 6.5834, 16.5338)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354871 #715E35
analogous
#356671 #354871 #403571
triadic
#354871 #713548 #487135
tetradic
#354871 #713566 #715E35 #357140
square
#354871 #713566 #715E35 #357140
split-complementary
#354871 #714035 #667135
monochromatic
#0E131E #212D47 #354871 #49639B #6882B8

Accessibility & contrast

On white

9.06
#354871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#354871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354871
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354871#FFFFFF#000000##FFFFFF
##3548711.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C73
Deuteranopia (green-blind)
#314670
Tritanopia (blue-blind)
#1A5157
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #354871;
/* rgb */ color: rgb(53, 72, 113);
/* oklch */ color: oklch(40.6% 0.073 264.5);
Tailwind
colors: {
  custom: {
    50: '#707a9a',
    500: '#354871',
    950: '#000000',
  },
}
SCSS
$custom: #354871;
$custom-light: #707a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#354871",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 221,
    "s": 36.145,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40551,
    "c": 0.07345,
    "h": 264.5
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#354871
secondary
#A18D61
accent
#A95CCC
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #354871

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

Preview Lab → · Contrast checker → · Palette generator →

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