#33518E#33518E

#33518E is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.107 H 263.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#33518E
RGBrgb(51, 81, 142)
HSLhsl(220, 47%, 38%)
HSVhsv(220, 64%, 56%)
CMYKcmyk(64.1%, 43%, 0%, 44.3%)
CIE-LABlab(35.08, 9.28, -37.19)
CIE-LCHlch(35.08, 38.33, 284.02°)
OKLaboklab(44.34% -0.013 -0.1059)
OKLCHoklch(44.34% 0.107 263)
XYZxyz(9.1885, 8.5408, 26.7503)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33518E #8E7033
analogous
#337E8E #33518E #43338E
triadic
#33518E #8E3351 #518E33
tetradic
#33518E #8E337E #8E7033 #338E43
square
#33518E #8E337E #8E7033 #338E43
split-complementary
#33518E #8E4333 #7E8E33
monochromatic
#131E34 #233761 #33518E #436BBB #708ECC

Accessibility & contrast

On white

7.75
#33518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#33518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33518E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33518E#FFFFFF#000000##FFFFFF
##33518E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #33518e;
/* rgb */ color: rgb(51, 81, 142);
/* oklch */ color: oklch(44.3% 0.107 263.0);
Tailwind
colors: {
  custom: {
    50: '#7481af',
    500: '#33518e',
    950: '#000000',
  },
}
SCSS
$custom: #33518e;
$custom-light: #7481af;
$custom-dark: #000000;
JSON
{
  "hex": "#33518e",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 220.22,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44343,
    "c": 0.10671,
    "h": 263
  },
  "luminance": 0.08542
}

Semantic roles & 50–950 ramp

primary
#33518E
secondary
#B49B69
accent
#AB51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #33518E

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

Preview Lab → · Contrast checker → · Palette generator →

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