#35289D#35289D

#35289D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.179 H 278.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#35289D
RGBrgb(53, 40, 157)
HSLhsl(247, 59%, 39%)
HSVhsv(247, 75%, 62%)
CMYKcmyk(66.2%, 74.5%, 0%, 38.4%)
CIE-LABlab(25.89, 41.38, -61.25)
CIE-LCHlch(25.89, 73.92, 304.04°)
OKLaboklab(37.9% 0.0266 -0.1769)
OKLCHoklch(37.9% 0.179 278.6)
XYZxyz(8.3108, 4.7081, 32.3625)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35289D #909D28
analogous
#28559D #35289D #6F289D
triadic
#35289D #9D3528 #289D35
tetradic
#35289D #9D2855 #909D28 #289D6F
square
#35289D #9D2855 #909D28 #289D6F
split-complementary
#35289D #9D6F28 #559D28
monochromatic
#140F3B #251C6C #35289D #4736CC #7467D8

Accessibility & contrast

On white

10.81
#35289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#35289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35289D
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35289D#FFFFFF#000000##FFFFFF
##35289D1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #35289d;
/* rgb */ color: rgb(53, 40, 157);
/* oklch */ color: oklch(37.9% 0.179 278.6);
Tailwind
colors: {
  custom: {
    50: '#7b64bb',
    500: '#35289d',
    950: '#000000',
  },
}
SCSS
$custom: #35289d;
$custom-light: #7b64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#35289d",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 246.667,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37904,
    "c": 0.17885,
    "h": 278.6
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#35289D
secondary
#B4BE62
accent
#E345D1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #35289D

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

Preview Lab → · Contrast checker → · Palette generator →

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