#333354#333354

#333354 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.7% C 0.058 H 282.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#333354
RGBrgb(51, 51, 84)
HSLhsl(240, 24%, 26%)
HSVhsv(240, 39%, 33%)
CMYKcmyk(39.3%, 39.3%, 0%, 67.1%)
CIE-LABlab(22.69, 9.27, -20.03)
CIE-LCHlch(22.69, 22.07, 294.83°)
OKLaboklab(33.71% 0.0128 -0.0561)
OKLCHoklch(33.71% 0.058 282.9)
XYZxyz(4.1489, 3.7114, 8.8836)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333354 #545433
analogous
#334454 #333354 #443354
triadic
#333354 #543333 #335433
tetradic
#333354 #543344 #545433 #335444
square
#333354 #543344 #545433 #335444
split-complementary
#333354 #544433 #445433
monochromatic
#0C0C13 #1C1C2E #333354 #4A4A7A #6262A0

Accessibility & contrast

On white

12.05
#333354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#333354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333354
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333354#FFFFFF#000000##FFFFFF
##3333541.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293755
Deuteranopia (green-blind)
#273553
Tritanopia (blue-blind)
#2A393F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #333354;
/* rgb */ color: rgb(51, 51, 84);
/* oklch */ color: oklch(33.7% 0.058 282.9);
Tailwind
colors: {
  custom: {
    50: '#6c6a84',
    500: '#333354',
    950: '#000000',
  },
}
SCSS
$custom: #333354;
$custom-light: #6c6a84;
$custom-dark: #000000;
JSON
{
  "hex": "#333354",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 84
  },
  "hsl": {
    "h": 240,
    "s": 24.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3371,
    "c": 0.05752,
    "h": 282.9
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#333354
secondary
#85855E
accent
#C167C1
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #333354

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

Preview Lab → · Contrast checker → · Palette generator →

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