#353271#353271

#353271 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.7% C 0.105 H 281.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#353271
RGBrgb(53, 50, 113)
HSLhsl(243, 39%, 32%)
HSVhsv(243, 56%, 44%)
CMYKcmyk(53.1%, 55.8%, 0%, 55.7%)
CIE-LABlab(24.42, 20.21, -36.16)
CIE-LCHlch(24.42, 41.43, 299.20°)
OKLaboklab(35.65% 0.0215 -0.1032)
OKLCHoklch(35.65% 0.105 281.8)
XYZxyz(5.5885, 4.2300, 16.1416)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#353271 #6E7132
analogous
#324F71 #353271 #553271
triadic
#353271 #713532 #327135
tetradic
#353271 #71324F #6E7132 #327155
square
#353271 #71324F #6E7132 #327155
split-complementary
#353271 #715532 #4F7132
monochromatic
#0D0C1C #211F47 #353271 #49459B #6763BA

Accessibility & contrast

On white

11.38
#353271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#353271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #353271
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##353271#FFFFFF#000000##FFFFFF
##3532711.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C73
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#1E404C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #353271;
/* rgb */ color: rgb(53, 50, 113);
/* oklch */ color: oklch(35.7% 0.105 281.8);
Tailwind
colors: {
  custom: {
    50: '#716a9a',
    500: '#353271',
    950: '#000000',
  },
}
SCSS
$custom: #353271;
$custom-light: #716a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#353271",
  "rgb": {
    "r": 53,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 242.857,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35654,
    "c": 0.10544,
    "h": 281.8
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#353271
secondary
#9FA25D
accent
#CF59C9
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #353271

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

Preview Lab → · Contrast checker → · Palette generator →

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