#333573#333573

#333573 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.104 H 278.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#333573
RGBrgb(51, 53, 115)
HSLhsl(238, 39%, 33%)
HSVhsv(238, 56%, 45%)
CMYKcmyk(55.7%, 53.9%, 0%, 54.9%)
CIE-LABlab(25.22, 18.40, -36.16)
CIE-LCHlch(25.22, 40.57, 296.97°)
OKLaboklab(36.26% 0.0153 -0.1032)
OKLCHoklch(36.26% 0.104 278.4)
XYZxyz(5.7319, 4.4875, 16.7805)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333573 #737133
analogous
#335573 #333573 #513373
triadic
#333573 #733335 #357333
tetradic
#333573 #733355 #737133 #337351
square
#333573 #733355 #737133 #337351
split-complementary
#333573 #735133 #557333
monochromatic
#0D0E1E #202149 #333573 #46499D #6568BB

Accessibility & contrast

On white

11.07
#333573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#333573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333573
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333573#FFFFFF#000000##FFFFFF
##3335731.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E75
Deuteranopia (green-blind)
#0C3972
Tritanopia (blue-blind)
#16434E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #333573;
/* rgb */ color: rgb(51, 53, 115);
/* oklch */ color: oklch(36.3% 0.104 278.4);
Tailwind
colors: {
  custom: {
    50: '#706c9c',
    500: '#333573',
    950: '#000000',
  },
}
SCSS
$custom: #333573;
$custom-light: #706c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#333573",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 115
  },
  "hsl": {
    "h": 238.125,
    "s": 38.554,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36259,
    "c": 0.10437,
    "h": 278.4
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#333573
secondary
#A3A15F
accent
#CB59CE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #333573

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

Preview Lab → · Contrast checker → · Palette generator →

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