#35258C#35258C

#35258C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.161 H 281.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#35258C
RGBrgb(53, 37, 140)
HSLhsl(249, 58%, 35%)
HSVhsv(249, 74%, 55%)
CMYKcmyk(62.1%, 73.6%, 0%, 45.1%)
CIE-LABlab(23.58, 37.58, -54.57)
CIE-LCHlch(23.58, 66.26, 304.56°)
OKLaboklab(35.76% 0.0324 -0.1573)
OKLCHoklch(35.76% 0.161 281.6)
XYZxyz(6.8619, 3.9730, 25.2111)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35258C #7C8C25
analogous
#25498C #35258C #68258C
triadic
#35258C #8C3525 #258C35
tetradic
#35258C #8C2549 #7C8C25 #258C68
square
#35258C #8C2549 #7C8C25 #258C68
split-complementary
#35258C #8C6825 #498C25
monochromatic
#100B2B #23185C #35258C #4732BC #6B58D3

Accessibility & contrast

On white

11.70
#35258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#35258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35258C
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35258C#FFFFFF#000000##FFFFFF
##35258C1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #35258c;
/* rgb */ color: rgb(53, 37, 140);
/* oklch */ color: oklch(35.8% 0.161 281.6);
Tailwind
colors: {
  custom: {
    50: '#7761af',
    500: '#35258c',
    950: '#000000',
  },
}
SCSS
$custom: #35258c;
$custom-light: #7761af;
$custom-dark: #000000;
JSON
{
  "hex": "#35258c",
  "rgb": {
    "r": 53,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 249.32,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35756,
    "c": 0.1606,
    "h": 281.6
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#35258C
secondary
#A8B855
accent
#E146C9
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #35258C

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

Preview Lab → · Contrast checker → · Palette generator →

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