#333571#333571

#333571 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.1% C 0.101 H 278.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#333571
RGBrgb(51, 53, 113)
HSLhsl(238, 38%, 32%)
HSVhsv(238, 55%, 44%)
CMYKcmyk(54.9%, 53.1%, 0%, 55.7%)
CIE-LABlab(25.08, 17.69, -35.11)
CIE-LCHlch(25.08, 39.31, 296.75°)
OKLaboklab(36.11% 0.0151 -0.1001)
OKLCHoklch(36.11% 0.101 278.6)
XYZxyz(5.6180, 4.4419, 16.1809)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333571 #716F33
analogous
#335471 #333571 #503371
triadic
#333571 #713335 #357133
tetradic
#333571 #713354 #716F33 #337150
square
#333571 #713354 #716F33 #337150
split-complementary
#333571 #715033 #547133
monochromatic
#0D0D1D #202147 #333571 #46499B #6568B9

Accessibility & contrast

On white

11.12
#333571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#333571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333571
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333571#FFFFFF#000000##FFFFFF
##3335711.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#103970
Tritanopia (blue-blind)
#18424D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #333571;
/* rgb */ color: rgb(51, 53, 113);
/* oklch */ color: oklch(36.1% 0.101 278.6);
Tailwind
colors: {
  custom: {
    50: '#706c9a',
    500: '#333571',
    950: '#000000',
  },
}
SCSS
$custom: #333571;
$custom-light: #706c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#333571",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 238.065,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36109,
    "c": 0.10128,
    "h": 278.6
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#333571
secondary
#A29F5E
accent
#CA5ACE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #333571

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

Preview Lab → · Contrast checker → · Palette generator →

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