#333673#333673

#333673 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.103 H 277.9°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#333673
RGBrgb(51, 54, 115)
HSLhsl(237, 39%, 33%)
HSVhsv(237, 56%, 45%)
CMYKcmyk(55.7%, 53%, 0%, 54.9%)
CIE-LABlab(25.50, 17.71, -35.71)
CIE-LCHlch(25.50, 39.86, 296.38°)
OKLaboklab(36.47% 0.0141 -0.1019)
OKLCHoklch(36.47% 0.103 277.9)
XYZxyz(5.7779, 4.5796, 16.7958)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333673 #737033
analogous
#335673 #333673 #503373
triadic
#333673 #733336 #367333
tetradic
#333673 #733356 #737033 #337350
square
#333673 #733356 #737033 #337350
split-complementary
#333673 #735033 #567333
monochromatic
#0D0E1E #202249 #333673 #464A9D #6569BB

Accessibility & contrast

On white

10.96
#333673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#333673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333673
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333673#FFFFFF#000000##FFFFFF
##3336731.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#0F3A72
Tritanopia (blue-blind)
#16444F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #333673;
/* rgb */ color: rgb(51, 54, 115);
/* oklch */ color: oklch(36.5% 0.103 277.9);
Tailwind
colors: {
  custom: {
    50: '#706d9c',
    500: '#333673',
    950: '#000000',
  },
}
SCSS
$custom: #333673;
$custom-light: #706d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#333673",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 115
  },
  "hsl": {
    "h": 237.188,
    "s": 38.554,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3647,
    "c": 0.10287,
    "h": 277.9
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#333673
secondary
#A3A05F
accent
#C959CE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #333673

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

Preview Lab → · Contrast checker → · Palette generator →

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