#333379#333379

#333379 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.116 H 278.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#333379
RGBrgb(51, 51, 121)
HSLhsl(240, 41%, 34%)
HSVhsv(240, 58%, 47%)
CMYKcmyk(57.9%, 57.9%, 0%, 52.5%)
CIE-LABlab(25.11, 21.87, -40.15)
CIE-LCHlch(25.11, 45.72, 298.58°)
OKLaboklab(36.32% 0.018 -0.115)
OKLCHoklch(36.32% 0.116 278.9)
XYZxyz(5.9992, 4.4515, 18.6286)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333379 #797933
analogous
#335679 #333379 #563379
triadic
#333379 #793333 #337933
tetradic
#333379 #793356 #797933 #337956
square
#333379 #793356 #797933 #337956
split-complementary
#333379 #795633 #567933
monochromatic
#0F0F23 #21214E #333379 #4545A4 #6767BF

Accessibility & contrast

On white

11.11
#333379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#333379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333379
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333379#FFFFFF#000000##FFFFFF
##3333791.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#0F4350
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #333379;
/* rgb */ color: rgb(51, 51, 121);
/* oklch */ color: oklch(36.3% 0.116 278.9);
Tailwind
colors: {
  custom: {
    50: '#716aa0',
    500: '#333379',
    950: '#000000',
  },
}
SCSS
$custom: #333379;
$custom-light: #716aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#333379",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 240,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36317,
    "c": 0.11639,
    "h": 278.9
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#333379
secondary
#A7A761
accent
#D157D1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #333379

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

Preview Lab → · Contrast checker → · Palette generator →

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