#333479#333479

#333479 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.5% C 0.115 H 278.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#333479
RGBrgb(51, 52, 121)
HSLhsl(239, 41%, 34%)
HSVhsv(239, 58%, 47%)
CMYKcmyk(57.9%, 57%, 0%, 52.5%)
CIE-LABlab(25.38, 21.20, -39.71)
CIE-LCHlch(25.38, 45.01, 298.09°)
OKLaboklab(36.52% 0.0169 -0.1137)
OKLCHoklch(36.52% 0.115 278.4)
XYZxyz(6.0433, 4.5399, 18.6433)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333479 #797833
analogous
#335779 #333479 #553379
triadic
#333479 #793334 #347933
tetradic
#333479 #793357 #797833 #337955
square
#333479 #793357 #797833 #337955
split-complementary
#333479 #795533 #577933
monochromatic
#0F0F23 #21214E #333479 #4547A4 #6769BF

Accessibility & contrast

On white

11.01
#333479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#333479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333479
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333479#FFFFFF#000000##FFFFFF
##3334791.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#0F4451
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #333479;
/* rgb */ color: rgb(51, 52, 121);
/* oklch */ color: oklch(36.5% 0.115 278.4);
Tailwind
colors: {
  custom: {
    50: '#716ba0',
    500: '#333479',
    950: '#000000',
  },
}
SCSS
$custom: #333479;
$custom-light: #716ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#333479",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 239.143,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36518,
    "c": 0.11494,
    "h": 278.4
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#333479
secondary
#A7A661
accent
#CF57D1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #333479

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

Preview Lab → · Contrast checker → · Palette generator →

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