#333194#333194

#333194 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.157 H 276.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#333194
RGBrgb(51, 49, 148)
HSLhsl(241, 50%, 39%)
HSVhsv(241, 67%, 58%)
CMYKcmyk(65.5%, 66.9%, 0%, 42%)
CIE-LABlab(26.84, 32.68, -54.18)
CIE-LCHlch(26.84, 63.27, 301.10°)
OKLaboklab(38.29% 0.0188 -0.1562)
OKLCHoklch(38.29% 0.157 276.9)
XYZxyz(7.8071, 5.0379, 28.5722)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333194 #929431
analogous
#316094 #333194 #643194
triadic
#333194 #943331 #319433
tetradic
#333194 #943160 #929431 #319464
square
#333194 #943160 #929431 #319464
split-complementary
#333194 #946431 #609431
monochromatic
#131338 #232266 #333194 #4442C0 #7270D0

Accessibility & contrast

On white

10.46
#333194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#333194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333194
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333194#FFFFFF#000000##FFFFFF
##3331941.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333194;
/* rgb */ color: rgb(51, 49, 148);
/* oklch */ color: oklch(38.3% 0.157 276.9);
Tailwind
colors: {
  custom: {
    50: '#7769b4',
    500: '#333194',
    950: '#000000',
  },
}
SCSS
$custom: #333194;
$custom-light: #7769b4;
$custom-dark: #000000;
JSON
{
  "hex": "#333194",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 241.212,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3829,
    "c": 0.15735,
    "h": 276.9
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#333194
secondary
#B6B769
accent
#DA4ED7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333194

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

Preview Lab → · Contrast checker → · Palette generator →

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