#35408C#35408C

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

Color values

HEX#35408C
RGBrgb(53, 64, 140)
HSLhsl(232, 45%, 38%)
HSVhsv(232, 62%, 55%)
CMYKcmyk(62.1%, 54.3%, 0%, 45.1%)
CIE-LABlab(30.20, 20.30, -43.79)
CIE-LCHlch(30.20, 48.27, 294.87°)
OKLaboklab(40.61% 0.0072 -0.1255)
OKLCHoklch(40.61% 0.126 273.3)
XYZxyz(8.0337, 6.3165, 25.6017)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35408C #8C8135
analogous
#356B8C #35408C #55358C
triadic
#35408C #8C3540 #408C35
tetradic
#35408C #8C356B #8C8135 #358C55
square
#35408C #8C356B #8C8135 #358C55
split-complementary
#35408C #8C5535 #6B8C35
monochromatic
#131733 #242C60 #35408C #4654B8 #727DCA

Accessibility & contrast

On white

9.28
#35408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#35408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35408C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35408C#FFFFFF#000000##FFFFFF
##35408C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114B8F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #35408c;
/* rgb */ color: rgb(53, 64, 140);
/* oklch */ color: oklch(40.6% 0.126 273.3);
Tailwind
colors: {
  custom: {
    50: '#7574ae',
    500: '#35408c',
    950: '#000000',
  },
}
SCSS
$custom: #35408c;
$custom-light: #7574ae;
$custom-dark: #000000;
JSON
{
  "hex": "#35408c",
  "rgb": {
    "r": 53,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 232.414,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.12574,
    "h": 273.3
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#35408C
secondary
#B2A96B
accent
#C453D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #35408C

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

Preview Lab → · Contrast checker → · Palette generator →

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