#333294#333294

#333294 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.156 H 276.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#333294
RGBrgb(51, 50, 148)
HSLhsl(241, 49%, 39%)
HSVhsv(241, 66%, 58%)
CMYKcmyk(65.5%, 66.2%, 0%, 42%)
CIE-LABlab(27.08, 32.05, -53.79)
CIE-LCHlch(27.08, 62.61, 300.79°)
OKLaboklab(38.46% 0.0179 -0.1551)
OKLCHoklch(38.46% 0.156 276.6)
XYZxyz(7.8494, 5.1225, 28.5863)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333294 #939432
analogous
#326294 #333294 #643294
triadic
#333294 #943332 #329433
tetradic
#333294 #943262 #939432 #329464
square
#333294 #943262 #939432 #329464
split-complementary
#333294 #946432 #629432
monochromatic
#131339 #232366 #333294 #4544C0 #7271CF

Accessibility & contrast

On white

10.37
#333294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#333294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333294
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333294#FFFFFF#000000##FFFFFF
##3332941.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #333294;
/* rgb */ color: rgb(51, 50, 148);
/* oklch */ color: oklch(38.5% 0.156 276.6);
Tailwind
colors: {
  custom: {
    50: '#776ab4',
    500: '#333294',
    950: '#000000',
  },
}
SCSS
$custom: #333294;
$custom-light: #776ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#333294",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 240.612,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38463,
    "c": 0.15611,
    "h": 276.6
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#333294
secondary
#B6B76B
accent
#D94FD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333294

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

Preview Lab → · Contrast checker → · Palette generator →

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