#35287E#35287E

#35287E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.138 H 283.5°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#35287E
RGBrgb(53, 40, 126)
HSLhsl(249, 52%, 33%)
HSVhsv(249, 68%, 49%)
CMYKcmyk(57.9%, 68.3%, 0%, 50.6%)
CIE-LABlab(22.93, 31.18, -46.85)
CIE-LCHlch(22.93, 56.28, 303.65°)
OKLaboklab(34.89% 0.0322 -0.1347)
OKLCHoklch(34.89% 0.138 283.5)
XYZxyz(5.9917, 3.7805, 20.1486)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35287E #717E28
analogous
#28467E #35287E #60287E
triadic
#35287E #7E3528 #287E35
tetradic
#35287E #7E2846 #717E28 #287E60
square
#35287E #7E2846 #717E28 #287E60
split-complementary
#35287E #7E6028 #467E28
monochromatic
#0E0B21 #211950 #35287E #4937AC #6857CA

Accessibility & contrast

On white

11.96
#35287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#35287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35287E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35287E#FFFFFF#000000##FFFFFF
##35287E1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#113E4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #35287e;
/* rgb */ color: rgb(53, 40, 126);
/* oklch */ color: oklch(34.9% 0.138 283.5);
Tailwind
colors: {
  custom: {
    50: '#7463a4',
    500: '#35287e',
    950: '#000000',
  },
}
SCSS
$custom: #35287e;
$custom-light: #7463a4;
$custom-dark: #000000;
JSON
{
  "hex": "#35287e",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 249.07,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34889,
    "c": 0.13848,
    "h": 283.5
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#35287E
secondary
#A1AF53
accent
#DB4DC6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35287E

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

Preview Lab → · Contrast checker → · Palette generator →

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