#333279#333279

#333279 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.1% C 0.118 H 279.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#333279
RGBrgb(51, 50, 121)
HSLhsl(241, 42%, 34%)
HSVhsv(241, 59%, 47%)
CMYKcmyk(57.9%, 58.7%, 0%, 52.5%)
CIE-LABlab(24.84, 22.55, -40.58)
CIE-LCHlch(24.84, 46.42, 299.06°)
OKLaboklab(36.12% 0.0191 -0.1163)
OKLCHoklch(36.12% 0.118 279.3)
XYZxyz(5.9559, 4.3651, 18.6142)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333279 #787932
analogous
#325479 #333279 #563279
triadic
#333279 #793332 #327933
tetradic
#333279 #793254 #787932 #327956
square
#333279 #793254 #787932 #327956
split-complementary
#333279 #795632 #547932
monochromatic
#0E0E22 #21204E #333279 #4544A4 #6766C0

Accessibility & contrast

On white

11.21
#333279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#333279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333279
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333279#FFFFFF#000000##FFFFFF
##3332791.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#0F4350
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #333279;
/* rgb */ color: rgb(51, 50, 121);
/* oklch */ color: oklch(36.1% 0.118 279.3);
Tailwind
colors: {
  custom: {
    50: '#726aa0',
    500: '#333279',
    950: '#000000',
  },
}
SCSS
$custom: #333279;
$custom-light: #726aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#333279",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 240.845,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36118,
    "c": 0.11783,
    "h": 279.3
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#333279
secondary
#A6A75F
accent
#D156D0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #333279

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

Preview Lab → · Contrast checker → · Palette generator →

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