#35278F#35278F

#35278F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.162 H 280.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#35278F
RGBrgb(53, 39, 143)
HSLhsl(248, 57%, 36%)
HSVhsv(248, 73%, 56%)
CMYKcmyk(62.9%, 72.7%, 0%, 43.9%)
CIE-LABlab(24.29, 37.40, -55.27)
CIE-LCHlch(24.29, 66.73, 304.09°)
OKLaboklab(36.35% 0.0302 -0.1593)
OKLCHoklch(36.35% 0.162 280.7)
XYZxyz(7.1501, 4.1906, 26.4134)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35278F #818F27
analogous
#274D8F #35278F #69278F
triadic
#35278F #8F3527 #278F35
tetradic
#35278F #8F274D #818F27 #278F69
square
#35278F #8F274D #818F27 #278F69
split-complementary
#35278F #8F6927 #4D8F27
monochromatic
#110D2F #231A5F #35278F #4734BF #6D5DD3

Accessibility & contrast

On white

11.42
#35278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#35278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35278F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35278F#FFFFFF#000000##FFFFFF
##35278F1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #35278f;
/* rgb */ color: rgb(53, 39, 143);
/* oklch */ color: oklch(36.4% 0.162 280.7);
Tailwind
colors: {
  custom: {
    50: '#7863b1',
    500: '#35278f',
    950: '#000000',
  },
}
SCSS
$custom: #35278f;
$custom-light: #7863b1;
$custom-dark: #000000;
JSON
{
  "hex": "#35278f",
  "rgb": {
    "r": 53,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 248.077,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36351,
    "c": 0.16219,
    "h": 280.7
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#35278F
secondary
#ABB85A
accent
#E047CC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #35278F

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

Preview Lab → · Contrast checker → · Palette generator →

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