#333C93#333C93

#333C93 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.142 H 273.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#333C93
RGBrgb(51, 60, 147)
HSLhsl(234, 48%, 39%)
HSVhsv(234, 65%, 58%)
CMYKcmyk(65.3%, 59.2%, 0%, 42.4%)
CIE-LABlab(29.52, 25.15, -49.20)
CIE-LCHlch(29.52, 55.26, 297.08°)
OKLaboklab(40.23% 0.0091 -0.1415)
OKLCHoklch(40.23% 0.142 273.7)
XYZxyz(8.2458, 6.0414, 28.3297)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333C93 #938A33
analogous
#336C93 #333C93 #5A3393
triadic
#333C93 #93333C #3C9333
tetradic
#333C93 #93336C #938A33 #33935A
square
#333C93 #93336C #938A33 #33935A
split-complementary
#333C93 #935A33 #6C9333
monochromatic
#131738 #232966 #333C93 #4550BE #727BCE

Accessibility & contrast

On white

9.51
#333C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#333C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333C93
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333C93#FFFFFF#000000##FFFFFF
##333C931.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #333c93;
/* rgb */ color: rgb(51, 60, 147);
/* oklch */ color: oklch(40.2% 0.142 273.7);
Tailwind
colors: {
  custom: {
    50: '#7671b3',
    500: '#333c93',
    950: '#000000',
  },
}
SCSS
$custom: #333c93;
$custom-light: #7671b3;
$custom-dark: #000000;
JSON
{
  "hex": "#333c93",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 147
  },
  "hsl": {
    "h": 234.375,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4023,
    "c": 0.14183,
    "h": 273.7
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#333C93
secondary
#B6AF6C
accent
#CB50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #333C93

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

Preview Lab → · Contrast checker → · Palette generator →

#333C93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva