#333376#333376

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

Color values

HEX#333376
RGBrgb(51, 51, 118)
HSLhsl(240, 40%, 33%)
HSVhsv(240, 57%, 46%)
CMYKcmyk(56.8%, 56.8%, 0%, 53.7%)
CIE-LABlab(24.89, 20.82, -38.61)
CIE-LCHlch(24.89, 43.86, 298.33°)
OKLaboklab(36.08% 0.0179 -0.1105)
OKLCHoklch(36.08% 0.112 279.2)
XYZxyz(5.8181, 4.3791, 17.6747)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333376 #767633
analogous
#335476 #333376 #543376
triadic
#333376 #763333 #337633
tetradic
#333376 #763354 #767633 #337654
square
#333376 #763354 #767633 #337654
split-complementary
#333376 #765433 #547633
monochromatic
#0E0E21 #21214B #333376 #4545A1 #6666BD

Accessibility & contrast

On white

11.20
#333376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#333376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333376
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333376#FFFFFF#000000##FFFFFF
##3333761.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093E78
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#13424F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #333376;
/* rgb */ color: rgb(51, 51, 118);
/* oklch */ color: oklch(36.1% 0.112 279.2);
Tailwind
colors: {
  custom: {
    50: '#716a9e',
    500: '#333376',
    950: '#000000',
  },
}
SCSS
$custom: #333376;
$custom-light: #716a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#333376",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 39.645,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36078,
    "c": 0.1119,
    "h": 279.2
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#333376
secondary
#A5A560
accent
#D058D0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #333376

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

Preview Lab → · Contrast checker → · Palette generator →

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