#333373#333373

#333373 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.8% C 0.107 H 279.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#333373
RGBrgb(51, 51, 115)
HSLhsl(240, 39%, 33%)
HSVhsv(240, 56%, 45%)
CMYKcmyk(55.7%, 55.7%, 0%, 54.9%)
CIE-LABlab(24.67, 19.76, -37.05)
CIE-LCHlch(24.67, 41.99, 298.07°)
OKLaboklab(35.84% 0.0177 -0.1059)
OKLCHoklch(35.84% 0.107 279.5)
XYZxyz(5.6426, 4.3089, 16.7507)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333373 #737333
analogous
#335373 #333373 #533373
triadic
#333373 #733333 #337333
tetradic
#333373 #733353 #737333 #337353
square
#333373 #733353 #737333 #337353
split-complementary
#333373 #735333 #537333
monochromatic
#0D0D1E #202049 #333373 #46469D #6565BB

Accessibility & contrast

On white

11.28
#333373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#333373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333373
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333373#FFFFFF#000000##FFFFFF
##3333731.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D75
Deuteranopia (green-blind)
#053872
Tritanopia (blue-blind)
#17414D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #333373;
/* rgb */ color: rgb(51, 51, 115);
/* oklch */ color: oklch(35.8% 0.107 279.5);
Tailwind
colors: {
  custom: {
    50: '#706a9c',
    500: '#333373',
    950: '#000000',
  },
}
SCSS
$custom: #333373;
$custom-light: #706a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#333373",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 240,
    "s": 38.554,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35844,
    "c": 0.10736,
    "h": 279.5
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#333373
secondary
#A3A35F
accent
#CE59CE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #333373

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

Preview Lab → · Contrast checker → · Palette generator →

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