#33508D#33508D

#33508D is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.106 H 263.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#33508D
RGBrgb(51, 80, 141)
HSLhsl(221, 47%, 38%)
HSVhsv(221, 64%, 55%)
CMYKcmyk(63.8%, 43.3%, 0%, 44.7%)
CIE-LABlab(34.73, 9.58, -37.14)
CIE-LCHlch(34.73, 38.36, 284.46°)
OKLaboklab(44.05% -0.0121 -0.1058)
OKLCHoklch(44.05% 0.107 263.5)
XYZxyz(9.0400, 8.3634, 26.3320)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33508D #8D7033
analogous
#337D8D #33508D #43338D
triadic
#33508D #8D3350 #508D33
tetradic
#33508D #8D337D #8D7033 #338D43
square
#33508D #8D337D #8D7033 #338D43
split-complementary
#33508D #8D4333 #7D8D33
monochromatic
#121D33 #233660 #33508D #4369BA #6F8DCB

Accessibility & contrast

On white

7.86
#33508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#33508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33508D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33508D#FFFFFF#000000##FFFFFF
##33508D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #33508d;
/* rgb */ color: rgb(51, 80, 141);
/* oklch */ color: oklch(44.0% 0.106 263.5);
Tailwind
colors: {
  custom: {
    50: '#7480af',
    500: '#33508d',
    950: '#000000',
  },
}
SCSS
$custom: #33508d;
$custom-light: #7480af;
$custom-dark: #000000;
JSON
{
  "hex": "#33508d",
  "rgb": {
    "r": 51,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 220.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44048,
    "c": 0.1065,
    "h": 263.5
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33508D

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

Preview Lab → · Contrast checker → · Palette generator →

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