#33508F#33508F

#33508F is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.109 H 263.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#33508F
RGBrgb(51, 80, 143)
HSLhsl(221, 47%, 38%)
HSVhsv(221, 64%, 56%)
CMYKcmyk(64.3%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.85, 10.31, -38.17)
CIE-LCHlch(34.85, 39.54, 285.12°)
OKLaboklab(44.18% -0.0117 -0.1088)
OKLCHoklch(44.18% 0.109 263.9)
XYZxyz(9.1901, 8.4235, 27.1229)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33508F #8F7233
analogous
#337E8F #33508F #44338F
triadic
#33508F #8F3350 #508F33
tetradic
#33508F #8F337E #8F7233 #338F44
square
#33508F #8F337E #8F7233 #338F44
split-complementary
#33508F #8F4433 #7E8F33
monochromatic
#131E35 #233762 #33508F #4369BC #708DCC

Accessibility & contrast

On white

7.82
#33508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#33508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33508F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33508F#FFFFFF#000000##FFFFFF
##33508F1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #33508f;
/* rgb */ color: rgb(51, 80, 143);
/* oklch */ color: oklch(44.2% 0.109 263.9);
Tailwind
colors: {
  custom: {
    50: '#7480b0',
    500: '#33508f',
    950: '#000000',
  },
}
SCSS
$custom: #33508f;
$custom-light: #7480b0;
$custom-dark: #000000;
JSON
{
  "hex": "#33508f",
  "rgb": {
    "r": 51,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 221.087,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44181,
    "c": 0.10945,
    "h": 263.9
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#33508F
secondary
#B49D6A
accent
#AD51D7
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #33508F

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

Preview Lab → · Contrast checker → · Palette generator →

#33508F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva