#333572#333572

#333572 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.103 H 278.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#333572
RGBrgb(51, 53, 114)
HSLhsl(238, 38%, 32%)
HSVhsv(238, 55%, 45%)
CMYKcmyk(55.3%, 53.5%, 0%, 55.3%)
CIE-LABlab(25.15, 18.04, -35.63)
CIE-LCHlch(25.15, 39.94, 296.86°)
OKLaboklab(36.18% 0.0152 -0.1017)
OKLCHoklch(36.18% 0.103 278.5)
XYZxyz(5.6747, 4.4646, 16.4791)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333572 #727033
analogous
#335572 #333572 #503372
triadic
#333572 #723335 #357233
tetradic
#333572 #723355 #727033 #337250
square
#333572 #723355 #727033 #337250
split-complementary
#333572 #725033 #557233
monochromatic
#0D0E1D #202148 #333572 #46499C #6568BA

Accessibility & contrast

On white

11.09
#333572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333572
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333572#FFFFFF#000000##FFFFFF
##3335721.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#0E3971
Tritanopia (blue-blind)
#17434E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #333572;
/* rgb */ color: rgb(51, 53, 114);
/* oklch */ color: oklch(36.2% 0.103 278.5);
Tailwind
colors: {
  custom: {
    50: '#706c9b',
    500: '#333572',
    950: '#000000',
  },
}
SCSS
$custom: #333572;
$custom-light: #706c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#333572",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 238.095,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36184,
    "c": 0.10282,
    "h": 278.5
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333572

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

Preview Lab → · Contrast checker → · Palette generator →

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