#333A92#333A92

#333A92 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.143 H 274.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#333A92
RGBrgb(51, 58, 146)
HSLhsl(236, 48%, 39%)
HSVhsv(236, 65%, 57%)
CMYKcmyk(65.1%, 60.3%, 0%, 42.7%)
CIE-LABlab(28.91, 26.12, -49.57)
CIE-LCHlch(28.91, 56.03, 297.79°)
OKLaboklab(39.76% 0.011 -0.1426)
OKLCHoklch(39.76% 0.143 274.4)
XYZxyz(8.0649, 5.8046, 27.8839)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A92 #928B33
analogous
#336992 #333A92 #5B3392
triadic
#333A92 #92333A #3A9233
tetradic
#333A92 #923369 #928B33 #33925B
square
#333A92 #923369 #928B33 #33925B
split-complementary
#333A92 #925B33 #699233
monochromatic
#131637 #232865 #333A92 #444DBE #7279CE

Accessibility & contrast

On white

9.72
#333A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#333A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333A92
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A92#FFFFFF#000000##FFFFFF
##333A921.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #333a92;
/* rgb */ color: rgb(51, 58, 146);
/* oklch */ color: oklch(39.8% 0.143 274.4);
Tailwind
colors: {
  custom: {
    50: '#7670b3',
    500: '#333a92',
    950: '#000000',
  },
}
SCSS
$custom: #333a92;
$custom-light: #7670b3;
$custom-dark: #000000;
JSON
{
  "hex": "#333a92",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 235.579,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39757,
    "c": 0.14306,
    "h": 274.4
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#333A92
secondary
#B6B06B
accent
#CE50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #333A92

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

Preview Lab → · Contrast checker → · Palette generator →

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