#333384#333384

#333384 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.132 H 277.8°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#333384
RGBrgb(51, 51, 132)
HSLhsl(240, 44%, 36%)
HSVhsv(240, 61%, 52%)
CMYKcmyk(61.4%, 61.4%, 0%, 48.2%)
CIE-LABlab(25.97, 25.76, -45.68)
CIE-LCHlch(25.97, 52.44, 299.42°)
OKLaboklab(37.23% 0.018 -0.1313)
OKLCHoklch(37.23% 0.132 277.8)
XYZxyz(6.7126, 4.7369, 22.3859)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333384 #848433
analogous
#335B84 #333384 #5B3384
triadic
#333384 #843333 #338433
tetradic
#333384 #84335B #848433 #33845B
square
#333384 #84335B #848433 #33845B
split-complementary
#333384 #845B33 #5B8433
monochromatic
#11112C #222258 #333384 #4444B0 #6B6BC6

Accessibility & contrast

On white

10.78
#333384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#333384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333384
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333384#FFFFFF#000000##FFFFFF
##3333841.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #333384;
/* rgb */ color: rgb(51, 51, 132);
/* oklch */ color: oklch(37.2% 0.132 277.8);
Tailwind
colors: {
  custom: {
    50: '#746aa8',
    500: '#333384',
    950: '#000000',
  },
}
SCSS
$custom: #333384;
$custom-light: #746aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#333384",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 240,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37227,
    "c": 0.13249,
    "h": 277.8
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

primary
#333384
secondary
#AEAE65
accent
#D454D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333384

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

Preview Lab → · Contrast checker → · Palette generator →

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