#35478F#35478F

#35478F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.121 H 270.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#35478F
RGBrgb(53, 71, 143)
HSLhsl(228, 46%, 38%)
HSVhsv(228, 63%, 56%)
CMYKcmyk(62.9%, 50.3%, 0%, 43.9%)
CIE-LABlab(32.36, 16.69, -42.15)
CIE-LCHlch(32.36, 45.34, 291.61°)
OKLaboklab(42.31% 0.0001 -0.1206)
OKLCHoklch(42.31% 0.121 270)
XYZxyz(8.6777, 7.2458, 26.9226)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35478F #8F7D35
analogous
#35748F #35478F #50358F
triadic
#35478F #8F3547 #478F35
tetradic
#35478F #8F3574 #8F7D35 #358F50
square
#35478F #8F3574 #8F7D35 #358F50
split-complementary
#35478F #8F5035 #748F35
monochromatic
#141B36 #243162 #35478F #475EBB #7385CB

Accessibility & contrast

On white

8.57
#35478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#35478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35478F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35478F#FFFFFF#000000##FFFFFF
##35478F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#0F488D
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #35478f;
/* rgb */ color: rgb(53, 71, 143);
/* oklch */ color: oklch(42.3% 0.121 270.0);
Tailwind
colors: {
  custom: {
    50: '#7579b0',
    500: '#35478f',
    950: '#000000',
  },
}
SCSS
$custom: #35478f;
$custom-light: #7579b0;
$custom-dark: #000000;
JSON
{
  "hex": "#35478f",
  "rgb": {
    "r": 53,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 228,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42307,
    "c": 0.12061,
    "h": 270
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#35478F
secondary
#B4A56C
accent
#BB52D6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #35478F

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

Preview Lab → · Contrast checker → · Palette generator →

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