#35258B#35258B

#35258B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.159 H 281.8°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#35258B
RGBrgb(53, 37, 139)
HSLhsl(249, 58%, 35%)
HSVhsv(249, 73%, 55%)
CMYKcmyk(61.9%, 73.4%, 0%, 45.5%)
CIE-LABlab(23.48, 37.26, -54.11)
CIE-LCHlch(23.48, 65.69, 304.55°)
OKLaboklab(35.66% 0.0326 -0.1559)
OKLCHoklch(35.66% 0.159 281.8)
XYZxyz(6.7885, 3.9436, 24.8246)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35258B #7B8B25
analogous
#25488B #35258B #68258B
triadic
#35258B #8B3525 #258B35
tetradic
#35258B #8B2548 #7B8B25 #258B68
square
#35258B #8B2548 #7B8B25 #258B68
split-complementary
#35258B #8B6825 #488B25
monochromatic
#100B2A #23185B #35258B #4732BB #6B58D3

Accessibility & contrast

On white

11.74
#35258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35258B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35258B#FFFFFF#000000##FFFFFF
##35258B1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #35258b;
/* rgb */ color: rgb(53, 37, 139);
/* oklch */ color: oklch(35.7% 0.159 281.8);
Tailwind
colors: {
  custom: {
    50: '#7761ae',
    500: '#35258b',
    950: '#000000',
  },
}
SCSS
$custom: #35258b;
$custom-light: #7761ae;
$custom-dark: #000000;
JSON
{
  "hex": "#35258b",
  "rgb": {
    "r": 53,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 249.412,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35657,
    "c": 0.15933,
    "h": 281.8
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#35258B
secondary
#A8B755
accent
#E147C9
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #35258B

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

Preview Lab → · Contrast checker → · Palette generator →

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