#33508E#33508E

#33508E is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.108 H 263.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#33508E
RGBrgb(51, 80, 142)
HSLhsl(221, 47%, 38%)
HSVhsv(221, 64%, 56%)
CMYKcmyk(64.1%, 43.7%, 0%, 44.3%)
CIE-LABlab(34.79, 9.94, -37.66)
CIE-LCHlch(34.79, 38.95, 284.79°)
OKLaboklab(44.12% -0.0119 -0.1073)
OKLCHoklch(44.12% 0.108 263.7)
XYZxyz(9.1147, 8.3933, 26.7257)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33508E #8E7133
analogous
#337D8E #33508E #43338E
triadic
#33508E #8E3350 #508E33
tetradic
#33508E #8E337D #8E7133 #338E43
square
#33508E #8E337D #8E7133 #338E43
split-complementary
#33508E #8E4333 #7D8E33
monochromatic
#131D34 #233761 #33508E #4369BB #708DCC

Accessibility & contrast

On white

7.84
#33508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33508E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33508E#FFFFFF#000000##FFFFFF
##33508E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#264E8D
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #33508e;
/* rgb */ color: rgb(51, 80, 142);
/* oklch */ color: oklch(44.1% 0.108 263.7);
Tailwind
colors: {
  custom: {
    50: '#7480af',
    500: '#33508e',
    950: '#000000',
  },
}
SCSS
$custom: #33508e;
$custom-light: #7480af;
$custom-dark: #000000;
JSON
{
  "hex": "#33508e",
  "rgb": {
    "r": 51,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 220.879,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44115,
    "c": 0.10798,
    "h": 263.7
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#33508E
secondary
#B49C69
accent
#AC51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #33508E

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

Preview Lab → · Contrast checker → · Palette generator →

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