#35258F#35258F

#35258F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.164 H 281.1°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#35258F
RGBrgb(53, 37, 143)
HSLhsl(249, 59%, 35%)
HSVhsv(249, 74%, 56%)
CMYKcmyk(62.9%, 74.1%, 0%, 43.9%)
CIE-LABlab(23.88, 38.55, -55.95)
CIE-LCHlch(23.88, 67.94, 304.57°)
OKLaboklab(36.06% 0.0318 -0.1613)
OKLCHoklch(36.06% 0.164 281.1)
XYZxyz(7.0861, 4.0627, 26.3920)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35258F #7F8F25
analogous
#254A8F #35258F #6A258F
triadic
#35258F #8F3525 #258F35
tetradic
#35258F #8F254A #7F8F25 #258F6A
square
#35258F #8F254A #7F8F25 #258F6A
split-complementary
#35258F #8F6A25 #4A8F25
monochromatic
#110C2E #23185E #35258F #4732C0 #6D5AD4

Accessibility & contrast

On white

11.59
#35258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#35258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35258F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35258F#FFFFFF#000000##FFFFFF
##35258F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #35258f;
/* rgb */ color: rgb(53, 37, 143);
/* oklch */ color: oklch(36.1% 0.164 281.1);
Tailwind
colors: {
  custom: {
    50: '#7862b1',
    500: '#35258f',
    950: '#000000',
  },
}
SCSS
$custom: #35258f;
$custom-light: #7862b1;
$custom-dark: #000000;
JSON
{
  "hex": "#35258f",
  "rgb": {
    "r": 53,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 249.057,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36056,
    "c": 0.16443,
    "h": 281.1
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#35258F
secondary
#AAB957
accent
#E246CA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #35258F

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

Preview Lab → · Contrast checker → · Palette generator →

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