#333276#333276

#333276 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.9% C 0.113 H 279.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#333276
RGBrgb(51, 50, 118)
HSLhsl(241, 40%, 33%)
HSVhsv(241, 58%, 46%)
CMYKcmyk(56.8%, 57.6%, 0%, 53.7%)
CIE-LABlab(24.62, 21.49, -39.04)
CIE-LCHlch(24.62, 44.57, 298.83°)
OKLaboklab(35.88% 0.0191 -0.1117)
OKLCHoklch(35.88% 0.113 279.7)
XYZxyz(5.7748, 4.2927, 17.6603)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333276 #757632
analogous
#325376 #333276 #553276
triadic
#333276 #763332 #327633
tetradic
#333276 #763253 #757632 #327655
square
#333276 #763253 #757632 #327655
split-complementary
#333276 #765532 #537632
monochromatic
#0E0E20 #20204B #333276 #4644A1 #6665BE

Accessibility & contrast

On white

11.30
#333276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#333276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333276
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333276#FFFFFF#000000##FFFFFF
##3332761.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053D78
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#13424F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #333276;
/* rgb */ color: rgb(51, 50, 118);
/* oklch */ color: oklch(35.9% 0.113 279.7);
Tailwind
colors: {
  custom: {
    50: '#716a9e',
    500: '#333276',
    950: '#000000',
  },
}
SCSS
$custom: #333276;
$custom-light: #716a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#333276",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 240.882,
    "s": 40.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35876,
    "c": 0.11337,
    "h": 279.7
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#333276
secondary
#A4A55E
accent
#D057CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #333276

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

Preview Lab → · Contrast checker → · Palette generator →

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