#333173#333173

#333173 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.4% C 0.110 H 280.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#333173
RGBrgb(51, 49, 115)
HSLhsl(242, 40%, 32%)
HSVhsv(242, 57%, 45%)
CMYKcmyk(55.7%, 57.4%, 0%, 54.9%)
CIE-LABlab(24.12, 21.12, -37.93)
CIE-LCHlch(24.12, 43.41, 299.11°)
OKLaboklab(35.44% 0.0202 -0.1085)
OKLCHoklch(35.44% 0.11 280.5)
XYZxyz(5.5571, 4.1379, 16.7222)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333173 #717331
analogous
#315073 #333173 #543173
triadic
#333173 #733331 #317333
tetradic
#333173 #733150 #717331 #317354
square
#333173 #733150 #717331 #317354
split-complementary
#333173 #735431 #507331
monochromatic
#0D0C1D #201F48 #333173 #46439E #6562BC

Accessibility & contrast

On white

11.49
#333173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#333173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333173
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333173#FFFFFF#000000##FFFFFF
##3331731.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073C75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#17404D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #333173;
/* rgb */ color: rgb(51, 49, 115);
/* oklch */ color: oklch(35.4% 0.110 280.5);
Tailwind
colors: {
  custom: {
    50: '#71699c',
    500: '#333173',
    950: '#000000',
  },
}
SCSS
$custom: #333173;
$custom-light: #71699c;
$custom-dark: #000000;
JSON
{
  "hex": "#333173",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 241.818,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35437,
    "c": 0.11034,
    "h": 280.5
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#333173
secondary
#A2A45C
accent
#D058CC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #333173

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

Preview Lab → · Contrast checker → · Palette generator →

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