#35259F#35259F

#35259F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.184 H 278.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#35259F
RGBrgb(53, 37, 159)
HSLhsl(248, 62%, 38%)
HSVhsv(248, 77%, 62%)
CMYKcmyk(66.7%, 76.7%, 0%, 37.6%)
CIE-LABlab(25.51, 43.66, -63.09)
CIE-LCHlch(25.51, 76.73, 304.69°)
OKLaboklab(37.7% 0.028 -0.1822)
OKLCHoklch(37.7% 0.184 278.7)
XYZxyz(8.3858, 4.5825, 33.2368)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35259F #8F9F25
analogous
#25529F #35259F #72259F
triadic
#35259F #9F3525 #259F35
tetradic
#35259F #9F2552 #8F9F25 #259F72
square
#35259F #9F2552 #8F9F25 #259F72
split-complementary
#35259F #9F7225 #529F25
monochromatic
#140E3C #24196D #35259F #4732CF #7364DB

Accessibility & contrast

On white

10.96
#35259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#35259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35259F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35259F#FFFFFF#000000##FFFFFF
##35259F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #35259f;
/* rgb */ color: rgb(53, 37, 159);
/* oklch */ color: oklch(37.7% 0.184 278.7);
Tailwind
colors: {
  custom: {
    50: '#7b62bd',
    500: '#35259f',
    950: '#000000',
  },
}
SCSS
$custom: #35259f;
$custom-light: #7b62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#35259f",
  "rgb": {
    "r": 53,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 247.869,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37701,
    "c": 0.18434,
    "h": 278.7
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#35259F
secondary
#B4C05F
accent
#E542D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #35259F

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

Preview Lab → · Contrast checker → · Palette generator →

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