#333689#333689

#333689 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.136 H 276.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#333689
RGBrgb(51, 54, 137)
HSLhsl(238, 46%, 37%)
HSVhsv(238, 63%, 54%)
CMYKcmyk(62.8%, 60.6%, 0%, 46.3%)
CIE-LABlab(27.15, 25.55, -46.88)
CIE-LCHlch(27.15, 53.38, 298.59°)
OKLaboklab(38.22% 0.0149 -0.1348)
OKLCHoklch(38.22% 0.136 276.3)
XYZxyz(7.1983, 5.1477, 24.2763)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333689 #898633
analogous
#336189 #333689 #5B3389
triadic
#333689 #893336 #368933
tetradic
#333689 #893361 #898633 #33895B
square
#333689 #893361 #898633 #33895B
split-complementary
#333689 #895B33 #618933
monochromatic
#121330 #22245C #333689 #4448B6 #6E71C9

Accessibility & contrast

On white

10.35
#333689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#333689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333689
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333689#FFFFFF#000000##FFFFFF
##3336891.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #333689;
/* rgb */ color: rgb(51, 54, 137);
/* oklch */ color: oklch(38.2% 0.136 276.3);
Tailwind
colors: {
  custom: {
    50: '#746dac',
    500: '#333689',
    950: '#000000',
  },
}
SCSS
$custom: #333689;
$custom-light: #746dac;
$custom-dark: #000000;
JSON
{
  "hex": "#333689",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 237.907,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38225,
    "c": 0.13558,
    "h": 276.3
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#333689
secondary
#B1AE67
accent
#D152D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #333689

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

Preview Lab → · Contrast checker → · Palette generator →

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