#333176#333176

#333176 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.7% C 0.115 H 280.1°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#333176
RGBrgb(51, 49, 118)
HSLhsl(242, 41%, 33%)
HSVhsv(242, 58%, 46%)
CMYKcmyk(56.8%, 58.5%, 0%, 53.7%)
CIE-LABlab(24.35, 22.17, -39.48)
CIE-LCHlch(24.35, 45.28, 299.32°)
OKLaboklab(35.68% 0.0202 -0.113)
OKLCHoklch(35.68% 0.115 280.1)
XYZxyz(5.7325, 4.2081, 17.6462)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333176 #747631
analogous
#315176 #333176 #553176
triadic
#333176 #763331 #317633
tetradic
#333176 #763151 #747631 #317655
square
#333176 #763151 #747631 #317655
split-complementary
#333176 #765531 #517631
monochromatic
#0E0D20 #201F4B #333176 #4643A1 #6663BE

Accessibility & contrast

On white

11.40
#333176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#333176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333176
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333176#FFFFFF#000000##FFFFFF
##3331761.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013C78
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#14414E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #333176;
/* rgb */ color: rgb(51, 49, 118);
/* oklch */ color: oklch(35.7% 0.115 280.1);
Tailwind
colors: {
  custom: {
    50: '#71699e',
    500: '#333176',
    950: '#000000',
  },
}
SCSS
$custom: #333176;
$custom-light: #71699e;
$custom-dark: #000000;
JSON
{
  "hex": "#333176",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 241.739,
    "s": 41.317,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35677,
    "c": 0.11484,
    "h": 280.1
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#333176
secondary
#A4A65D
accent
#D157CE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #333176

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

Preview Lab → · Contrast checker → · Palette generator →

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