#33359E#33359E

#33359E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.166 H 275.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#33359E
RGBrgb(51, 53, 158)
HSLhsl(239, 51%, 41%)
HSVhsv(239, 68%, 62%)
CMYKcmyk(67.7%, 66.5%, 0%, 38%)
CIE-LABlab(28.69, 33.64, -57.27)
CIE-LCHlch(28.69, 66.41, 300.43°)
OKLaboklab(39.91% 0.0146 -0.1653)
OKLCHoklch(39.91% 0.166 275)
XYZxyz(8.8079, 5.7179, 32.9806)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33359E #9E9C33
analogous
#336A9E #33359E #66339E
triadic
#33359E #9E3335 #359E33
tetradic
#33359E #9E336A #9E9C33 #339E66
square
#33359E #9E336A #9E9C33 #339E66
split-complementary
#33359E #9E6633 #6A9E33
monochromatic
#151641 #242570 #33359E #4A4CC4 #787AD3

Accessibility & contrast

On white

9.80
#33359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#33359E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33359E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33359E#FFFFFF#000000##FFFFFF
##33359E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #33359e;
/* rgb */ color: rgb(51, 53, 158);
/* oklch */ color: oklch(39.9% 0.166 275.0);
Tailwind
colors: {
  custom: {
    50: '#796cbc',
    500: '#33359e',
    950: '#000000',
  },
}
SCSS
$custom: #33359e;
$custom-light: #796cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#33359e",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 238.879,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39909,
    "c": 0.16591,
    "h": 275
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

primary
#33359E
secondary
#BCBA71
accent
#D84DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33359E

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

Preview Lab → · Contrast checker → · Palette generator →

#33359E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva