#35289F#35289F

#35289F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.181 H 278.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#35289F
RGBrgb(53, 40, 159)
HSLhsl(247, 60%, 39%)
HSVhsv(247, 75%, 62%)
CMYKcmyk(66.7%, 74.8%, 0%, 37.6%)
CIE-LABlab(26.09, 42.03, -62.14)
CIE-LCHlch(26.09, 75.02, 304.07°)
OKLaboklab(38.11% 0.0262 -0.1794)
OKLCHoklch(38.11% 0.181 278.3)
XYZxyz(8.4830, 4.7770, 33.2692)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35289F #929F28
analogous
#28579F #35289F #71289F
triadic
#35289F #9F3528 #289F35
tetradic
#35289F #9F2857 #929F28 #289F71
square
#35289F #9F2857 #929F28 #289F71
split-complementary
#35289F #9F7128 #579F28
monochromatic
#140F3D #251C6E #35289F #4837CD #7568D9

Accessibility & contrast

On white

10.74
#35289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#35289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35289F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35289F#FFFFFF#000000##FFFFFF
##35289F1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #35289f;
/* rgb */ color: rgb(53, 40, 159);
/* oklch */ color: oklch(38.1% 0.181 278.3);
Tailwind
colors: {
  custom: {
    50: '#7b64bd',
    500: '#35289f',
    950: '#000000',
  },
}
SCSS
$custom: #35289f;
$custom-light: #7b64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#35289f",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 246.555,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38109,
    "c": 0.18134,
    "h": 278.3
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#35289F
secondary
#B5BF64
accent
#E345D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #35289F

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

Preview Lab → · Contrast checker → · Palette generator →

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