#333362#333362

#333362 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.081 H 281.3°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#333362
RGBrgb(51, 51, 98)
HSLhsl(240, 32%, 29%)
HSVhsv(240, 48%, 38%)
CMYKcmyk(48%, 48%, 0%, 61.6%)
CIE-LABlab(23.52, 13.88, -27.93)
CIE-LCHlch(23.52, 31.19, 296.43°)
OKLaboklab(34.61% 0.0159 -0.0791)
OKLCHoklch(34.61% 0.081 281.3)
XYZxyz(4.7530, 3.9531, 12.0655)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333362 #626233
analogous
#334B62 #333362 #4B3362
triadic
#333362 #623333 #336233
tetradic
#333362 #62334B #626233 #33624B
square
#333362 #62334B #626233 #33624B
split-complementary
#333362 #624B33 #4B6233
monochromatic
#0A0A14 #1E1E3A #333362 #48488A #6262AD

Accessibility & contrast

On white

11.73
#333362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#333362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333362
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333362#FFFFFF#000000##FFFFFF
##3333621.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A64
Deuteranopia (green-blind)
#1E3661
Tritanopia (blue-blind)
#233D45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #333362;
/* rgb */ color: rgb(51, 51, 98);
/* oklch */ color: oklch(34.6% 0.081 281.3);
Tailwind
colors: {
  custom: {
    50: '#6e6a8f',
    500: '#333362',
    950: '#000000',
  },
}
SCSS
$custom: #333362;
$custom-light: #6e6a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#333362",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 98
  },
  "hsl": {
    "h": 240,
    "s": 31.544,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34605,
    "c": 0.08068,
    "h": 281.3
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#333362
secondary
#93935E
accent
#C860C8
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #333362

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

Preview Lab → · Contrast checker → · Palette generator →

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