#35289E#35289E

#35289E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.180 H 278.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#35289E
RGBrgb(53, 40, 158)
HSLhsl(247, 60%, 39%)
HSVhsv(247, 75%, 62%)
CMYKcmyk(66.5%, 74.7%, 0%, 38%)
CIE-LABlab(25.99, 41.70, -61.70)
CIE-LCHlch(25.99, 74.47, 304.06°)
OKLaboklab(38.01% 0.0264 -0.1781)
OKLCHoklch(38.01% 0.18 278.4)
XYZxyz(8.3966, 4.7424, 32.8140)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35289E #919E28
analogous
#28569E #35289E #70289E
triadic
#35289E #9E3528 #289E35
tetradic
#35289E #9E2856 #919E28 #289E70
square
#35289E #9E2856 #919E28 #289E70
split-complementary
#35289E #9E7028 #569E28
monochromatic
#140F3C #251C6D #35289E #4737CC #7468D9

Accessibility & contrast

On white

10.78
#35289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#35289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35289E
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35289E#FFFFFF#000000##FFFFFF
##35289E1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #35289e;
/* rgb */ color: rgb(53, 40, 158);
/* oklch */ color: oklch(38.0% 0.180 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b64bc',
    500: '#35289e',
    950: '#000000',
  },
}
SCSS
$custom: #35289e;
$custom-light: #7b64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#35289e",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 246.61,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38007,
    "c": 0.1801,
    "h": 278.4
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#35289E
secondary
#B5BF63
accent
#E345D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #35289E

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

Preview Lab → · Contrast checker → · Palette generator →

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