#35408F#35408F

#35408F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.130 H 273.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#35408F
RGBrgb(53, 64, 143)
HSLhsl(233, 46%, 38%)
HSVhsv(233, 63%, 56%)
CMYKcmyk(62.9%, 55.2%, 0%, 43.9%)
CIE-LABlab(30.41, 21.39, -45.29)
CIE-LCHlch(30.41, 50.08, 295.28°)
OKLaboklab(40.84% 0.0074 -0.1299)
OKLCHoklch(40.84% 0.13 273.3)
XYZxyz(8.2579, 6.4062, 26.7826)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35408F #8F8435
analogous
#356D8F #35408F #57358F
triadic
#35408F #8F3540 #408F35
tetradic
#35408F #8F356D #8F8435 #358F57
square
#35408F #8F356D #8F8435 #358F57
split-complementary
#35408F #8F5735 #6D8F35
monochromatic
#141836 #242C62 #35408F #4755BB #737ECB

Accessibility & contrast

On white

9.20
#35408F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#35408F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35408F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35408F#FFFFFF#000000##FFFFFF
##35408F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #35408f;
/* rgb */ color: rgb(53, 64, 143);
/* oklch */ color: oklch(40.8% 0.130 273.3);
Tailwind
colors: {
  custom: {
    50: '#7674b0',
    500: '#35408f',
    950: '#000000',
  },
}
SCSS
$custom: #35408f;
$custom-light: #7674b0;
$custom-dark: #000000;
JSON
{
  "hex": "#35408f",
  "rgb": {
    "r": 53,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 232.667,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40839,
    "c": 0.13013,
    "h": 273.3
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#35408F
secondary
#B4AB6C
accent
#C652D6
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #35408F

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

Preview Lab → · Contrast checker → · Palette generator →

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