#333697#333697

#333697 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.155 H 275.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#333697
RGBrgb(51, 54, 151)
HSLhsl(238, 50%, 40%)
HSVhsv(238, 66%, 59%)
CMYKcmyk(66.2%, 64.2%, 0%, 40.8%)
CIE-LABlab(28.32, 30.53, -53.61)
CIE-LCHlch(28.32, 61.69, 299.66°)
OKLaboklab(39.45% 0.0144 -0.1545)
OKLCHoklch(39.45% 0.155 275.3)
XYZxyz(8.2685, 5.5758, 29.9127)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333697 #979433
analogous
#336897 #333697 #623397
triadic
#333697 #973336 #369733
tetradic
#333697 #973368 #979433 #339762
square
#333697 #973368 #979433 #339762
split-complementary
#333697 #976233 #689733
monochromatic
#14153C #242669 #333697 #474AC1 #7477D0

Accessibility & contrast

On white

9.93
#333697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#333697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##333697#FFFFFF#000000##FFFFFF
##3336971.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)
#00479A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #333697;
/* rgb */ color: rgb(51, 54, 151);
/* oklch */ color: oklch(39.4% 0.155 275.3);
Tailwind
colors: {
  custom: {
    50: '#776db6',
    500: '#333697',
    950: '#000000',
  },
}
SCSS
$custom: #333697;
$custom-light: #776db6;
$custom-dark: #000000;
JSON
{
  "hex": "#333697",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 238.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39446,
    "c": 0.1552,
    "h": 275.3
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#333697
secondary
#B8B66D
accent
#D54FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #333697

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

Preview Lab → · Contrast checker → · Palette generator →

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