#333199#333199

#333199 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.164 H 276.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#333199
RGBrgb(51, 49, 153)
HSLhsl(241, 51%, 40%)
HSVhsv(241, 68%, 60%)
CMYKcmyk(66.7%, 68%, 0%, 40%)
CIE-LABlab(27.30, 34.42, -56.50)
CIE-LCHlch(27.30, 66.16, 301.35°)
OKLaboklab(38.76% 0.0182 -0.163)
OKLCHoklch(38.76% 0.164 276.4)
XYZxyz(8.2114, 5.1996, 30.7017)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333199 #979931
analogous
#316399 #333199 #673199
triadic
#333199 #993331 #319933
tetradic
#333199 #993163 #979931 #319967
square
#333199 #993163 #979931 #319967
split-complementary
#333199 #996731 #639931
monochromatic
#14133C #24226B #333199 #4744C3 #7472D2

Accessibility & contrast

On white

10.29
#333199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#333199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333199
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333199#FFFFFF#000000##FFFFFF
##3331991.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #333199;
/* rgb */ color: rgb(51, 49, 153);
/* oklch */ color: oklch(38.8% 0.164 276.4);
Tailwind
colors: {
  custom: {
    50: '#786ab8',
    500: '#333199',
    950: '#000000',
  },
}
SCSS
$custom: #333199;
$custom-light: #786ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#333199",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 241.154,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38758,
    "c": 0.16404,
    "h": 276.4
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

primary
#333199
secondary
#B8BA6C
accent
#DB4DD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333199

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

Preview Lab → · Contrast checker → · Palette generator →

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