#35478C#35478C

#35478C is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.116 H 269.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#35478C
RGBrgb(53, 71, 140)
HSLhsl(228, 45%, 38%)
HSVhsv(228, 62%, 55%)
CMYKcmyk(62.1%, 49.3%, 0%, 45.1%)
CIE-LABlab(32.16, 15.60, -40.63)
CIE-LCHlch(32.16, 43.53, 291.01°)
OKLaboklab(42.09% -0.0003 -0.1161)
OKLCHoklch(42.09% 0.116 269.8)
XYZxyz(8.4535, 7.1561, 25.7416)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35478C #8C7A35
analogous
#35728C #35478C #4E358C
triadic
#35478C #8C3547 #478C35
tetradic
#35478C #8C3572 #8C7A35 #358C4E
square
#35478C #8C3572 #8C7A35 #358C4E
split-complementary
#35478C #8C4E35 #728C35
monochromatic
#131A33 #243060 #35478C #465EB8 #7284CA

Accessibility & contrast

On white

8.64
#35478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#35478C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35478C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35478C#FFFFFF#000000##FFFFFF
##35478C1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24508F
Deuteranopia (green-blind)
#15488B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #35478c;
/* rgb */ color: rgb(53, 71, 140);
/* oklch */ color: oklch(42.1% 0.116 269.8);
Tailwind
colors: {
  custom: {
    50: '#7579ae',
    500: '#35478c',
    950: '#000000',
  },
}
SCSS
$custom: #35478c;
$custom-light: #7579ae;
$custom-dark: #000000;
JSON
{
  "hex": "#35478c",
  "rgb": {
    "r": 53,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 227.586,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42091,
    "c": 0.11615,
    "h": 269.8
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#35478C
secondary
#B2A36B
accent
#BA53D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #35478C

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

Preview Lab → · Contrast checker → · Palette generator →

#35478C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva