#35298C#35298C

#35298C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.156 H 280.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#35298C
RGBrgb(53, 41, 140)
HSLhsl(247, 55%, 35%)
HSVhsv(247, 71%, 55%)
CMYKcmyk(62.1%, 70.7%, 0%, 45.1%)
CIE-LABlab(24.44, 35.22, -53.17)
CIE-LCHlch(24.44, 63.78, 303.53°)
OKLaboklab(36.37% 0.0292 -0.1532)
OKLCHoklch(36.37% 0.156 280.8)
XYZxyz(6.9933, 4.2357, 25.2549)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35298C #808C29
analogous
#294E8C #35298C #66298C
triadic
#35298C #8C3529 #298C35
tetradic
#35298C #8C294E #808C29 #298C66
square
#35298C #8C294E #808C29 #298C66
split-complementary
#35298C #8C6629 #4E8C29
monochromatic
#110D2D #231B5D #35298C #4737BB #6D5FD0

Accessibility & contrast

On white

11.37
#35298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#35298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35298C
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35298C#FFFFFF#000000##FFFFFF
##35298C1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #35298c;
/* rgb */ color: rgb(53, 41, 140);
/* oklch */ color: oklch(36.4% 0.156 280.8);
Tailwind
colors: {
  custom: {
    50: '#7764af',
    500: '#35298c',
    950: '#000000',
  },
}
SCSS
$custom: #35298c;
$custom-light: #7764af;
$custom-dark: #000000;
JSON
{
  "hex": "#35298c",
  "rgb": {
    "r": 53,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 247.273,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36366,
    "c": 0.15597,
    "h": 280.8
  },
  "luminance": 0.04236
}

Semantic roles & 50–950 ramp

primary
#35298C
secondary
#ABB65B
accent
#DE4ACC
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #35298C

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

Preview Lab → · Contrast checker → · Palette generator →

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