#35287C#35287C

#35287C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.136 H 283.8°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#35287C
RGBrgb(53, 40, 124)
HSLhsl(249, 51%, 32%)
HSVhsv(249, 68%, 49%)
CMYKcmyk(57.3%, 67.7%, 0%, 51.4%)
CIE-LABlab(22.76, 30.52, -45.87)
CIE-LCHlch(22.76, 55.09, 303.64°)
OKLaboklab(34.71% 0.0325 -0.1318)
OKLCHoklch(34.71% 0.136 283.8)
XYZxyz(5.8640, 3.7294, 19.4757)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35287C #6F7C28
analogous
#28457C #35287C #5F287C
triadic
#35287C #7C3528 #287C35
tetradic
#35287C #7C2845 #6F7C28 #287C5F
square
#35287C #7C2845 #6F7C28 #287C5F
split-complementary
#35287C #7C5F28 #457C28
monochromatic
#0D0A1F #21194E #35287C #4937AA #6856C8

Accessibility & contrast

On white

12.03
#35287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#35287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35287C
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35287C#FFFFFF#000000##FFFFFF
##35287C1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#143D4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #35287c;
/* rgb */ color: rgb(53, 40, 124);
/* oklch */ color: oklch(34.7% 0.136 283.8);
Tailwind
colors: {
  custom: {
    50: '#7463a3',
    500: '#35287c',
    950: '#000000',
  },
}
SCSS
$custom: #35287c;
$custom-light: #7463a3;
$custom-dark: #000000;
JSON
{
  "hex": "#35287c",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 249.286,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34706,
    "c": 0.13574,
    "h": 283.8
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#35287C
secondary
#9FAD52
accent
#DB4DC5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35287C

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

Preview Lab → · Contrast checker → · Palette generator →

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