#333F92#333F92

#333F92 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.136 H 272.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#333F92
RGBrgb(51, 63, 146)
HSLhsl(232, 48%, 39%)
HSVhsv(232, 65%, 57%)
CMYKcmyk(65.1%, 56.8%, 0%, 42.7%)
CIE-LABlab(30.24, 22.79, -47.42)
CIE-LCHlch(30.24, 52.61, 295.66°)
OKLaboklab(40.74% 0.0063 -0.1363)
OKLCHoklch(40.74% 0.136 272.6)
XYZxyz(8.3293, 6.3334, 27.9721)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333F92 #928633
analogous
#336E92 #333F92 #563392
triadic
#333F92 #92333F #3F9233
tetradic
#333F92 #92336E #928633 #339256
square
#333F92 #92336E #928633 #339256
split-complementary
#333F92 #925633 #6E9233
monochromatic
#131837 #232B65 #333F92 #4454BE #727DCE

Accessibility & contrast

On white

9.26
#333F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#333F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333F92
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333F92#FFFFFF#000000##FFFFFF
##333F921.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #333f92;
/* rgb */ color: rgb(51, 63, 146);
/* oklch */ color: oklch(40.7% 0.136 272.6);
Tailwind
colors: {
  custom: {
    50: '#7573b3',
    500: '#333f92',
    950: '#000000',
  },
}
SCSS
$custom: #333f92;
$custom-light: #7573b3;
$custom-dark: #000000;
JSON
{
  "hex": "#333f92",
  "rgb": {
    "r": 51,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 232.421,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.1364,
    "h": 272.6
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#333F92
secondary
#B6AC6B
accent
#C750D8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #333F92

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

Preview Lab → · Contrast checker → · Palette generator →

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