#35258E#35258E

#35258E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.163 H 281.3°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#35258E
RGBrgb(53, 37, 142)
HSLhsl(249, 59%, 35%)
HSVhsv(249, 74%, 56%)
CMYKcmyk(62.7%, 73.9%, 0%, 44.3%)
CIE-LABlab(23.78, 38.23, -55.49)
CIE-LCHlch(23.78, 67.38, 304.57°)
OKLaboklab(35.96% 0.032 -0.16)
OKLCHoklch(35.96% 0.163 281.3)
XYZxyz(7.0107, 4.0325, 25.9949)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35258E #7E8E25
analogous
#25498E #35258E #6A258E
triadic
#35258E #8E3525 #258E35
tetradic
#35258E #8E2549 #7E8E25 #258E6A
square
#35258E #8E2549 #7E8E25 #258E6A
split-complementary
#35258E #8E6A25 #498E25
monochromatic
#110C2D #23185D #35258E #4732BF #6C5AD4

Accessibility & contrast

On white

11.62
#35258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35258E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35258E#FFFFFF#000000##FFFFFF
##35258E1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35258e;
/* rgb */ color: rgb(53, 37, 142);
/* oklch */ color: oklch(36.0% 0.163 281.3);
Tailwind
colors: {
  custom: {
    50: '#7861b0',
    500: '#35258e',
    950: '#000000',
  },
}
SCSS
$custom: #35258e;
$custom-light: #7861b0;
$custom-dark: #000000;
JSON
{
  "hex": "#35258e",
  "rgb": {
    "r": 53,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 249.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35956,
    "c": 0.16315,
    "h": 281.3
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #35258E

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

Preview Lab → · Contrast checker → · Palette generator →

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