#333489#333489

#333489 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.138 H 277.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#333489
RGBrgb(51, 52, 137)
HSLhsl(239, 46%, 37%)
HSVhsv(239, 63%, 54%)
CMYKcmyk(62.8%, 62%, 0%, 46.3%)
CIE-LABlab(26.64, 26.87, -47.71)
CIE-LCHlch(26.64, 54.76, 299.39°)
OKLaboklab(37.84% 0.0169 -0.1372)
OKLCHoklch(37.84% 0.138 277)
XYZxyz(7.1071, 4.9654, 24.2460)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333489 #898833
analogous
#335F89 #333489 #5D3389
triadic
#333489 #893334 #348933
tetradic
#333489 #89335F #898833 #33895D
square
#333489 #89335F #898833 #33895D
split-complementary
#333489 #895D33 #5F8933
monochromatic
#121230 #22235C #333489 #4445B6 #6E6FC9

Accessibility & contrast

On white

10.54
#333489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#333489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333489
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333489#FFFFFF#000000##FFFFFF
##3334891.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333489;
/* rgb */ color: rgb(51, 52, 137);
/* oklch */ color: oklch(37.8% 0.138 277.0);
Tailwind
colors: {
  custom: {
    50: '#746bac',
    500: '#333489',
    950: '#000000',
  },
}
SCSS
$custom: #333489;
$custom-light: #746bac;
$custom-dark: #000000;
JSON
{
  "hex": "#333489",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 137
  },
  "hsl": {
    "h": 239.302,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37844,
    "c": 0.13827,
    "h": 277
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#333489
secondary
#B1B067
accent
#D452D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333489

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

Preview Lab → · Contrast checker → · Palette generator →

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