#333D93#333D93

#333D93 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.141 H 273.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#333D93
RGBrgb(51, 61, 147)
HSLhsl(234, 48%, 39%)
HSVhsv(234, 65%, 58%)
CMYKcmyk(65.3%, 58.5%, 0%, 42.4%)
CIE-LABlab(29.78, 24.49, -48.77)
CIE-LCHlch(29.78, 54.58, 296.66°)
OKLaboklab(40.43% 0.0082 -0.1403)
OKLCHoklch(40.43% 0.141 273.3)
XYZxyz(8.2987, 6.1472, 28.3473)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333D93 #938933
analogous
#336D93 #333D93 #593393
triadic
#333D93 #93333D #3D9333
tetradic
#333D93 #93336D #938933 #339359
square
#333D93 #93336D #938933 #339359
split-complementary
#333D93 #935933 #6D9333
monochromatic
#131738 #232A66 #333D93 #4551BE #727CCE

Accessibility & contrast

On white

9.42
#333D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#333D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333D93
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333D93#FFFFFF#000000##FFFFFF
##333D931.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #333d93;
/* rgb */ color: rgb(51, 61, 147);
/* oklch */ color: oklch(40.4% 0.141 273.3);
Tailwind
colors: {
  custom: {
    50: '#7672b3',
    500: '#333d93',
    950: '#000000',
  },
}
SCSS
$custom: #333d93;
$custom-light: #7672b3;
$custom-dark: #000000;
JSON
{
  "hex": "#333d93",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 147
  },
  "hsl": {
    "h": 233.75,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40426,
    "c": 0.14051,
    "h": 273.3
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#333D93
secondary
#B6AE6C
accent
#CA50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #333D93

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

Preview Lab → · Contrast checker → · Palette generator →

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