#333595#333595

#333595 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.154 H 275.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#333595
RGBrgb(51, 53, 149)
HSLhsl(239, 49%, 39%)
HSVhsv(239, 66%, 58%)
CMYKcmyk(65.8%, 64.4%, 0%, 41.6%)
CIE-LABlab(27.90, 30.47, -53.07)
CIE-LCHlch(27.90, 61.19, 299.86°)
OKLaboklab(39.09% 0.0153 -0.1529)
OKLCHoklch(39.09% 0.154 275.7)
XYZxyz(8.0614, 5.4193, 29.0491)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333595 #959333
analogous
#336695 #333595 #623395
triadic
#333595 #953335 #359533
tetradic
#333595 #953366 #959333 #339562
square
#333595 #953366 #959333 #339562
split-complementary
#333595 #956233 #669533
monochromatic
#14153A #232567 #333595 #4648C0 #7375CF

Accessibility & contrast

On white

10.08
#333595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#333595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333595
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333595#FFFFFF#000000##FFFFFF
##3335951.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #333595;
/* rgb */ color: rgb(51, 53, 149);
/* oklch */ color: oklch(39.1% 0.154 275.7);
Tailwind
colors: {
  custom: {
    50: '#776cb5',
    500: '#333595',
    950: '#000000',
  },
}
SCSS
$custom: #333595;
$custom-light: #776cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#333595",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 149
  },
  "hsl": {
    "h": 238.776,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.15372,
    "h": 275.7
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#333595
secondary
#B7B66C
accent
#D64FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #333595

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

Preview Lab → · Contrast checker → · Palette generator →

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