#35518D#35518D

#35518D is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.104 H 263.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#35518D
RGBrgb(53, 81, 141)
HSLhsl(221, 45%, 38%)
HSVhsv(221, 62%, 55%)
CMYKcmyk(62.4%, 42.6%, 0%, 44.7%)
CIE-LABlab(35.13, 9.32, -36.50)
CIE-LCHlch(35.13, 37.67, 284.32°)
OKLaboklab(44.39% -0.0113 -0.1039)
OKLCHoklch(44.39% 0.104 263.8)
XYZxyz(9.2167, 8.5640, 26.3615)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35518D #8D7135
analogous
#357D8D #35518D #45358D
triadic
#35518D #8D3551 #518D35
tetradic
#35518D #8D357D #8D7135 #358D45
square
#35518D #8D357D #8D7135 #358D45
split-complementary
#35518D #8D4535 #7D8D35
monochromatic
#141E34 #243761 #35518D #466BB9 #728ECA

Accessibility & contrast

On white

7.74
#35518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#35518D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35518D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35518D#FFFFFF#000000##FFFFFF
##35518D1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36578F
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #35518d;
/* rgb */ color: rgb(53, 81, 141);
/* oklch */ color: oklch(44.4% 0.104 263.8);
Tailwind
colors: {
  custom: {
    50: '#7581af',
    500: '#35518d',
    950: '#000000',
  },
}
SCSS
$custom: #35518d;
$custom-light: #7581af;
$custom-dark: #000000;
JSON
{
  "hex": "#35518d",
  "rgb": {
    "r": 53,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 220.909,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.10447,
    "h": 263.8
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#35518D
secondary
#B29C6B
accent
#AC53D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #35518D

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

Preview Lab → · Contrast checker → · Palette generator →

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