#35259D#35259D

#35259D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.182 H 279.0°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#35259D
RGBrgb(53, 37, 157)
HSLhsl(248, 62%, 38%)
HSVhsv(248, 76%, 62%)
CMYKcmyk(66.2%, 76.4%, 0%, 38.4%)
CIE-LABlab(25.30, 43.03, -62.22)
CIE-LCHlch(25.30, 75.65, 304.67°)
OKLaboklab(37.49% 0.0285 -0.1796)
OKLCHoklch(37.49% 0.182 279)
XYZxyz(8.2136, 4.5137, 32.3301)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35259D #8D9D25
analogous
#25519D #35259D #71259D
triadic
#35259D #9D3525 #259D35
tetradic
#35259D #9D2551 #8D9D25 #259D71
square
#35259D #9D2551 #8D9D25 #259D71
split-complementary
#35259D #9D7125 #519D25
monochromatic
#140E3A #24196B #35259D #4631CE #7262DA

Accessibility & contrast

On white

11.04
#35259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#35259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35259D
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35259D#FFFFFF#000000##FFFFFF
##35259D1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #35259d;
/* rgb */ color: rgb(53, 37, 157);
/* oklch */ color: oklch(37.5% 0.182 279.0);
Tailwind
colors: {
  custom: {
    50: '#7b62bb',
    500: '#35259d',
    950: '#000000',
  },
}
SCSS
$custom: #35259d;
$custom-light: #7b62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#35259d",
  "rgb": {
    "r": 53,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 248,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37491,
    "c": 0.1819,
    "h": 279
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#35259D
secondary
#B2BF5E
accent
#E543CF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #35259D

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

Preview Lab → · Contrast checker → · Palette generator →

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