#333389#333389

#333389 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.140 H 277.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#333389
RGBrgb(51, 51, 137)
HSLhsl(240, 46%, 37%)
HSVhsv(240, 63%, 54%)
CMYKcmyk(62.8%, 62.8%, 0%, 46.3%)
CIE-LABlab(26.38, 27.53, -48.13)
CIE-LCHlch(26.38, 55.45, 299.77°)
OKLaboklab(37.66% 0.0178 -0.1385)
OKLCHoklch(37.66% 0.14 277.3)
XYZxyz(7.0630, 4.8771, 24.2312)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333389 #898933
analogous
#335E89 #333389 #5E3389
triadic
#333389 #893333 #338933
tetradic
#333389 #89335E #898933 #33895E
square
#333389 #89335E #898933 #33895E
split-complementary
#333389 #895E33 #5E8933
monochromatic
#121230 #22225C #333389 #4444B6 #6E6EC9

Accessibility & contrast

On white

10.63
#333389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#333389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333389
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333389#FFFFFF#000000##FFFFFF
##3333891.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333389;
/* rgb */ color: rgb(51, 51, 137);
/* oklch */ color: oklch(37.7% 0.140 277.3);
Tailwind
colors: {
  custom: {
    50: '#756bac',
    500: '#333389',
    950: '#000000',
  },
}
SCSS
$custom: #333389;
$custom-light: #756bac;
$custom-dark: #000000;
JSON
{
  "hex": "#333389",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37657,
    "c": 0.1396,
    "h": 277.3
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#333389
secondary
#B1B167
accent
#D552D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333389

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

Preview Lab → · Contrast checker → · Palette generator →

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