#33369E#33369E

#33369E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.165 H 274.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#33369E
RGBrgb(51, 54, 158)
HSLhsl(238, 51%, 41%)
HSVhsv(238, 68%, 62%)
CMYKcmyk(67.7%, 65.8%, 0%, 38%)
CIE-LABlab(28.93, 33.00, -56.88)
CIE-LCHlch(28.93, 65.76, 300.12°)
OKLaboklab(40.08% 0.0138 -0.1641)
OKLCHoklch(40.08% 0.165 274.8)
XYZxyz(8.8539, 5.8100, 32.9960)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33369E #9E9B33
analogous
#336B9E #33369E #65339E
triadic
#33369E #9E3336 #369E33
tetradic
#33369E #9E336B #9E9B33 #339E65
square
#33369E #9E336B #9E9B33 #339E65
split-complementary
#33369E #9E6533 #6B9E33
monochromatic
#151641 #242670 #33369E #4A4DC4 #787BD3

Accessibility & contrast

On white

9.71
#33369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#33369E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33369E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33369E#FFFFFF#000000##FFFFFF
##33369E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33369e;
/* rgb */ color: rgb(51, 54, 158);
/* oklch */ color: oklch(40.1% 0.165 274.8);
Tailwind
colors: {
  custom: {
    50: '#796dbc',
    500: '#33369e',
    950: '#000000',
  },
}
SCSS
$custom: #33369e;
$custom-light: #796dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#33369e",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 238.318,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40083,
    "c": 0.1647,
    "h": 274.8
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33369E

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

Preview Lab → · Contrast checker → · Palette generator →

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