#333B91#333B91

#333B91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.140 H 274.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#333B91
RGBrgb(51, 59, 145)
HSLhsl(235, 48%, 38%)
HSVhsv(235, 65%, 57%)
CMYKcmyk(64.8%, 59.3%, 0%, 43.1%)
CIE-LABlab(29.10, 25.09, -48.66)
CIE-LCHlch(29.10, 54.75, 297.28°)
OKLaboklab(39.87% 0.0101 -0.1399)
OKLCHoklch(39.87% 0.14 274.1)
XYZxyz(8.0384, 5.8754, 27.4930)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333B91 #918933
analogous
#336A91 #333B91 #5A3391
triadic
#333B91 #91333B #3B9133
tetradic
#333B91 #91336A #918933 #33915A
square
#333B91 #91336A #918933 #33915A
split-complementary
#333B91 #915A33 #6A9133
monochromatic
#131636 #232964 #333B91 #444EBD #7179CD

Accessibility & contrast

On white

9.65
#333B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#333B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333B91
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333B91#FFFFFF#000000##FFFFFF
##333B911.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #333b91;
/* rgb */ color: rgb(51, 59, 145);
/* oklch */ color: oklch(39.9% 0.140 274.1);
Tailwind
colors: {
  custom: {
    50: '#7670b2',
    500: '#333b91',
    950: '#000000',
  },
}
SCSS
$custom: #333b91;
$custom-light: #7670b2;
$custom-dark: #000000;
JSON
{
  "hex": "#333b91",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 234.894,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39867,
    "c": 0.14031,
    "h": 274.1
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#333B91
secondary
#B5AF6B
accent
#CC50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #333B91

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

Preview Lab → · Contrast checker → · Palette generator →

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