#333299#333299

#333299 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.163 H 276.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#333299
RGBrgb(51, 50, 153)
HSLhsl(241, 51%, 40%)
HSVhsv(241, 67%, 60%)
CMYKcmyk(66.7%, 67.3%, 0%, 40%)
CIE-LABlab(27.53, 33.79, -56.12)
CIE-LCHlch(27.53, 65.50, 301.05°)
OKLaboklab(38.93% 0.0174 -0.1619)
OKLCHoklch(38.93% 0.163 276.1)
XYZxyz(8.2537, 5.2842, 30.7158)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333299 #989932
analogous
#326499 #333299 #673299
triadic
#333299 #993332 #329933
tetradic
#333299 #993264 #989932 #329967
square
#333299 #993264 #989932 #329967
split-complementary
#333299 #996732 #649932
monochromatic
#14143D #24236B #333299 #4746C2 #7574D2

Accessibility & contrast

On white

10.21
#333299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#333299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333299
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333299#FFFFFF#000000##FFFFFF
##3332991.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #333299;
/* rgb */ color: rgb(51, 50, 153);
/* oklch */ color: oklch(38.9% 0.163 276.1);
Tailwind
colors: {
  custom: {
    50: '#786ab8',
    500: '#333299',
    950: '#000000',
  },
}
SCSS
$custom: #333299;
$custom-light: #786ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#333299",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 240.583,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38928,
    "c": 0.16285,
    "h": 276.1
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#333299
secondary
#B9BA6D
accent
#DA4ED9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333299

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

Preview Lab → · Contrast checker → · Palette generator →

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