#333499#333499

#333499 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.160 H 275.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#333499
RGBrgb(51, 52, 153)
HSLhsl(239, 50%, 40%)
HSVhsv(239, 67%, 60%)
CMYKcmyk(66.7%, 66%, 0%, 40%)
CIE-LABlab(28.00, 32.52, -55.34)
CIE-LCHlch(28.00, 64.19, 300.44°)
OKLaboklab(39.27% 0.0159 -0.1596)
OKLCHoklch(39.27% 0.16 275.7)
XYZxyz(8.3411, 5.4590, 30.7449)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333499 #999833
analogous
#336799 #333499 #653399
triadic
#333499 #993334 #349933
tetradic
#333499 #993367 #999833 #339965
square
#333499 #993367 #999833 #339965
split-complementary
#333499 #996533 #679933
monochromatic
#14153D #24246B #333499 #4749C2 #7576D1

Accessibility & contrast

On white

10.04
#333499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#333499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333499
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333499#FFFFFF#000000##FFFFFF
##3334991.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #333499;
/* rgb */ color: rgb(51, 52, 153);
/* oklch */ color: oklch(39.3% 0.160 275.7);
Tailwind
colors: {
  custom: {
    50: '#786cb8',
    500: '#333499',
    950: '#000000',
  },
}
SCSS
$custom: #333499;
$custom-light: #786cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#333499",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 239.412,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.39273,
    "c": 0.16041,
    "h": 275.7
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#333499
secondary
#B9B96E
accent
#D84EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #333499

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

Preview Lab → · Contrast checker → · Palette generator →

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