#35408D#35408D

#35408D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.127 H 273.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#35408D
RGBrgb(53, 64, 141)
HSLhsl(233, 45%, 38%)
HSVhsv(233, 62%, 55%)
CMYKcmyk(62.4%, 54.6%, 0%, 44.7%)
CIE-LABlab(30.27, 20.66, -44.29)
CIE-LCHlch(30.27, 48.88, 295.01°)
OKLaboklab(40.68% 0.0073 -0.127)
OKLCHoklch(40.68% 0.127 273.3)
XYZxyz(8.1077, 6.3461, 25.9918)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35408D #8D8235
analogous
#356C8D #35408D #56358D
triadic
#35408D #8D3540 #408D35
tetradic
#35408D #8D356C #8D8235 #358D56
square
#35408D #8D356C #8D8235 #358D56
split-complementary
#35408D #8D5635 #6C8D35
monochromatic
#141834 #242C61 #35408D #4654B9 #727DCA

Accessibility & contrast

On white

9.25
#35408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#35408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35408D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35408D#FFFFFF#000000##FFFFFF
##35408D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #35408d;
/* rgb */ color: rgb(53, 64, 141);
/* oklch */ color: oklch(40.7% 0.127 273.3);
Tailwind
colors: {
  custom: {
    50: '#7574af',
    500: '#35408d',
    950: '#000000',
  },
}
SCSS
$custom: #35408d;
$custom-light: #7574af;
$custom-dark: #000000;
JSON
{
  "hex": "#35408d",
  "rgb": {
    "r": 53,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 232.5,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40683,
    "c": 0.12721,
    "h": 273.3
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#35408D
secondary
#B2AA6B
accent
#C553D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #35408D

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

Preview Lab → · Contrast checker → · Palette generator →

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