#35518F#35518F

#35518F is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.107 H 264.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#35518F
RGBrgb(53, 81, 143)
HSLhsl(221, 46%, 38%)
HSVhsv(221, 63%, 56%)
CMYKcmyk(62.9%, 43.4%, 0%, 43.9%)
CIE-LABlab(35.25, 10.05, -37.52)
CIE-LCHlch(35.25, 38.85, 284.99°)
OKLaboklab(44.52% -0.0109 -0.1069)
OKLCHoklch(44.52% 0.107 264.2)
XYZxyz(9.3668, 8.6241, 27.1523)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35518F #8F7335
analogous
#357E8F #35518F #46358F
triadic
#35518F #8F3551 #518F35
tetradic
#35518F #8F357E #8F7335 #358F46
square
#35518F #8F357E #8F7335 #358F46
split-complementary
#35518F #8F4635 #7E8F35
monochromatic
#141E36 #243862 #35518F #476BBB #738FCB

Accessibility & contrast

On white

7.71
#35518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#35518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35518F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35518F#FFFFFF#000000##FFFFFF
##35518F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#284F8E
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #35518f;
/* rgb */ color: rgb(53, 81, 143);
/* oklch */ color: oklch(44.5% 0.107 264.2);
Tailwind
colors: {
  custom: {
    50: '#7581b0',
    500: '#35518f',
    950: '#000000',
  },
}
SCSS
$custom: #35518f;
$custom-light: #7581b0;
$custom-dark: #000000;
JSON
{
  "hex": "#35518f",
  "rgb": {
    "r": 53,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 221.333,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44518,
    "c": 0.10743,
    "h": 264.2
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#35518F
secondary
#B49D6C
accent
#AD52D6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #35518F

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

Preview Lab → · Contrast checker → · Palette generator →

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