#33339F#33339F

#33339F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.170 H 275.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#33339F
RGBrgb(51, 51, 159)
HSLhsl(240, 51%, 41%)
HSVhsv(240, 68%, 62%)
CMYKcmyk(67.9%, 67.9%, 0%, 37.6%)
CIE-LABlab(28.31, 35.24, -58.49)
CIE-LCHlch(28.31, 68.29, 301.07°)
OKLaboklab(39.66% 0.016 -0.1689)
OKLCHoklch(39.66% 0.17 275.4)
XYZxyz(8.8050, 5.5739, 33.4060)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33339F #9F9F33
analogous
#33699F #33339F #69339F
triadic
#33339F #9F3333 #339F33
tetradic
#33339F #9F3369 #9F9F33 #339F69
square
#33339F #9F3369 #9F9F33 #339F69
split-complementary
#33339F #9F6933 #699F33
monochromatic
#151542 #242471 #33339F #4A4AC5 #7979D4

Accessibility & contrast

On white

9.93
#33339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#33339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33339F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33339F#FFFFFF#000000##FFFFFF
##33339F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #33339f;
/* rgb */ color: rgb(51, 51, 159);
/* oklch */ color: oklch(39.7% 0.170 275.4);
Tailwind
colors: {
  custom: {
    50: '#796bbc',
    500: '#33339f',
    950: '#000000',
  },
}
SCSS
$custom: #33339f;
$custom-light: #796bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#33339f",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39662,
    "c": 0.16963,
    "h": 275.4
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#33339F
secondary
#BCBC71
accent
#DB4DDB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33339F

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

Preview Lab → · Contrast checker → · Palette generator →

#33339F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva