#333579#333579

#333579 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.7% C 0.113 H 278.0°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#333579
RGBrgb(51, 53, 121)
HSLhsl(238, 41%, 34%)
HSVhsv(238, 58%, 47%)
CMYKcmyk(57.9%, 56.2%, 0%, 52.5%)
CIE-LABlab(25.65, 20.52, -39.27)
CIE-LCHlch(25.65, 44.31, 297.58°)
OKLaboklab(36.72% 0.0157 -0.1124)
OKLCHoklch(36.72% 0.113 278)
XYZxyz(6.0884, 4.6301, 18.6583)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333579 #797733
analogous
#335879 #333579 #543379
triadic
#333579 #793335 #357933
tetradic
#333579 #793358 #797733 #337954
square
#333579 #793358 #797733 #337954
split-complementary
#333579 #795433 #587933
monochromatic
#0F0F23 #21224E #333579 #4548A4 #676ABF

Accessibility & contrast

On white

10.90
#333579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#333579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333579
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333579#FFFFFF#000000##FFFFFF
##3335791.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B407B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#0F4551
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #333579;
/* rgb */ color: rgb(51, 53, 121);
/* oklch */ color: oklch(36.7% 0.113 278.0);
Tailwind
colors: {
  custom: {
    50: '#716ca0',
    500: '#333579',
    950: '#000000',
  },
}
SCSS
$custom: #333579;
$custom-light: #716ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#333579",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 121
  },
  "hsl": {
    "h": 238.286,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36721,
    "c": 0.11349,
    "h": 278
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#333579
secondary
#A7A561
accent
#CD57D1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #333579

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

Preview Lab → · Contrast checker → · Palette generator →

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