#35278D#35278D

#35278D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.160 H 281.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#35278D
RGBrgb(53, 39, 141)
HSLhsl(248, 57%, 35%)
HSVhsv(248, 72%, 55%)
CMYKcmyk(62.4%, 72.3%, 0%, 44.7%)
CIE-LABlab(24.10, 36.74, -54.34)
CIE-LCHlch(24.10, 65.60, 304.07°)
OKLaboklab(36.15% 0.0306 -0.1567)
OKLCHoklch(36.15% 0.16 281.1)
XYZxyz(6.9999, 4.1305, 25.6225)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35278D #7F8D27
analogous
#274C8D #35278D #68278D
triadic
#35278D #8D3527 #278D35
tetradic
#35278D #8D274C #7F8D27 #278D68
square
#35278D #8D274C #7F8D27 #278D68
split-complementary
#35278D #8D6827 #4C8D27
monochromatic
#110C2D #231A5D #35278D #4734BD #6D5CD2

Accessibility & contrast

On white

11.50
#35278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#35278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35278D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35278D#FFFFFF#000000##FFFFFF
##35278D1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #35278d;
/* rgb */ color: rgb(53, 39, 141);
/* oklch */ color: oklch(36.2% 0.160 281.1);
Tailwind
colors: {
  custom: {
    50: '#7763af',
    500: '#35278d',
    950: '#000000',
  },
}
SCSS
$custom: #35278d;
$custom-light: #7763af;
$custom-dark: #000000;
JSON
{
  "hex": "#35278d",
  "rgb": {
    "r": 53,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 248.235,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36154,
    "c": 0.15962,
    "h": 281.1
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#35278D
secondary
#AAB759
accent
#E048CB
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #35278D

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

Preview Lab → · Contrast checker → · Palette generator →

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