#333779#333779

#333779 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.1% C 0.111 H 277.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#333779
RGBrgb(51, 55, 121)
HSLhsl(237, 41%, 34%)
HSVhsv(237, 58%, 47%)
CMYKcmyk(57.9%, 54.5%, 0%, 52.5%)
CIE-LABlab(26.20, 19.16, -38.38)
CIE-LCHlch(26.20, 42.90, 296.52°)
OKLaboklab(37.13% 0.0134 -0.1098)
OKLCHoklch(37.13% 0.111 277)
XYZxyz(6.1815, 4.8162, 18.6893)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333779 #797533
analogous
#335A79 #333779 #523379
triadic
#333779 #793337 #377933
tetradic
#333779 #79335A #797533 #337952
square
#333779 #79335A #797533 #337952
split-complementary
#333779 #795233 #5A7933
monochromatic
#0F1023 #21234E #333779 #454BA4 #676CBF

Accessibility & contrast

On white

10.70
#333779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#333779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333779
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333779#FFFFFF#000000##FFFFFF
##3337791.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417B
Deuteranopia (green-blind)
#053B78
Tritanopia (blue-blind)
#0E4652
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #333779;
/* rgb */ color: rgb(51, 55, 121);
/* oklch */ color: oklch(37.1% 0.111 277.0);
Tailwind
colors: {
  custom: {
    50: '#716da0',
    500: '#333779',
    950: '#000000',
  },
}
SCSS
$custom: #333779;
$custom-light: #716da0;
$custom-dark: #000000;
JSON
{
  "hex": "#333779",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 236.571,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37134,
    "c": 0.11057,
    "h": 277
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#333779
secondary
#A7A361
accent
#CA57D1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #333779

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

Preview Lab → · Contrast checker → · Palette generator →

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