#333289#333289

#333289 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.141 H 277.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#333289
RGBrgb(51, 50, 137)
HSLhsl(241, 47%, 37%)
HSVhsv(241, 64%, 54%)
CMYKcmyk(62.8%, 63.5%, 0%, 46.3%)
CIE-LABlab(26.13, 28.19, -48.54)
CIE-LCHlch(26.13, 56.13, 300.14°)
OKLaboklab(37.47% 0.0188 -0.1397)
OKLCHoklch(37.47% 0.141 277.7)
XYZxyz(7.0197, 4.7906, 24.2168)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333289 #888932
analogous
#325D89 #333289 #5F3289
triadic
#333289 #893332 #328933
tetradic
#333289 #89325D #888932 #32895F
square
#333289 #89325D #888932 #32895F
split-complementary
#333289 #895F32 #5D8932
monochromatic
#12112F #22225C #333289 #4442B6 #6D6CC9

Accessibility & contrast

On white

10.72
#333289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#333289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333289
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333289#FFFFFF#000000##FFFFFF
##3332891.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #333289;
/* rgb */ color: rgb(51, 50, 137);
/* oklch */ color: oklch(37.5% 0.141 277.7);
Tailwind
colors: {
  custom: {
    50: '#756aac',
    500: '#333289',
    950: '#000000',
  },
}
SCSS
$custom: #333289;
$custom-light: #756aac;
$custom-dark: #000000;
JSON
{
  "hex": "#333289",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 240.69,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37472,
    "c": 0.14093,
    "h": 277.7
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#333289
secondary
#B0B166
accent
#D652D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333289

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

Preview Lab → · Contrast checker → · Palette generator →

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