#333497#333497

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

Color values

HEX#333497
RGBrgb(51, 52, 151)
HSLhsl(239, 50%, 40%)
HSVhsv(239, 66%, 59%)
CMYKcmyk(66.2%, 65.6%, 0%, 40.8%)
CIE-LABlab(27.83, 31.82, -54.41)
CIE-LCHlch(27.83, 63.03, 300.32°)
OKLaboklab(39.09% 0.016 -0.1569)
OKLCHoklch(39.09% 0.158 275.8)
XYZxyz(8.1773, 5.3935, 29.8823)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333497 #979633
analogous
#336697 #333497 #643397
triadic
#333497 #973334 #349733
tetradic
#333497 #973366 #979633 #339764
square
#333497 #973366 #979633 #339764
split-complementary
#333497 #976433 #669733
monochromatic
#14143C #242469 #333497 #4748C1 #7475D0

Accessibility & contrast

On white

10.10
#333497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333497
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333497#FFFFFF#000000##FFFFFF
##3334971.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #333497;
/* rgb */ color: rgb(51, 52, 151);
/* oklch */ color: oklch(39.1% 0.158 275.8);
Tailwind
colors: {
  custom: {
    50: '#776cb6',
    500: '#333497',
    950: '#000000',
  },
}
SCSS
$custom: #333497;
$custom-light: #776cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#333497",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 239.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39089,
    "c": 0.15771,
    "h": 275.8
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#333497
secondary
#B8B86D
accent
#D84FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #333497

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

Preview Lab → · Contrast checker → · Palette generator →

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