#333084#333084

#333084 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.137 H 278.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#333084
RGBrgb(51, 48, 132)
HSLhsl(242, 47%, 35%)
HSVhsv(242, 64%, 52%)
CMYKcmyk(61.4%, 63.6%, 0%, 48.2%)
CIE-LABlab(25.21, 27.74, -46.92)
CIE-LCHlch(25.21, 54.51, 300.59°)
OKLaboklab(36.67% 0.021 -0.1349)
OKLCHoklch(36.67% 0.137 278.8)
XYZxyz(6.5857, 4.4832, 22.3436)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333084 #818430
analogous
#305784 #333084 #5D3084
triadic
#333084 #843330 #308433
tetradic
#333084 #843057 #818430 #30845D
square
#333084 #843057 #818430 #30845D
split-complementary
#333084 #845D30 #578430
monochromatic
#100F2A #222057 #333084 #4440B1 #6A67C8

Accessibility & contrast

On white

11.07
#333084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#333084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333084
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333084#FFFFFF#000000##FFFFFF
##3330841.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #333084;
/* rgb */ color: rgb(51, 48, 132);
/* oklch */ color: oklch(36.7% 0.137 278.8);
Tailwind
colors: {
  custom: {
    50: '#7468a8',
    500: '#333084',
    950: '#000000',
  },
}
SCSS
$custom: #333084;
$custom-light: #7468a8;
$custom-dark: #000000;
JSON
{
  "hex": "#333084",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 242.143,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36665,
    "c": 0.13654,
    "h": 278.8
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#333084
secondary
#ACAF61
accent
#D651D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333084

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

Preview Lab → · Contrast checker → · Palette generator →

#333084 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva