#35338E#35338E

#35338E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.146 H 277.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#35338E
RGBrgb(53, 51, 142)
HSLhsl(241, 47%, 38%)
HSVhsv(241, 64%, 56%)
CMYKcmyk(62.7%, 64.1%, 0%, 44.3%)
CIE-LABlab(26.95, 29.63, -50.29)
CIE-LCHlch(26.95, 58.37, 300.51°)
OKLaboklab(38.25% 0.0201 -0.1448)
OKLCHoklch(38.25% 0.146 277.9)
XYZxyz(7.5329, 5.0770, 26.1689)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35338E #8C8E33
analogous
#335E8E #35338E #63338E
triadic
#35338E #8E3533 #338E35
tetradic
#35338E #8E335E #8C8E33 #338E63
square
#35338E #8E335E #8C8E33 #338E63
split-complementary
#35338E #8E6333 #5E8E33
monochromatic
#131334 #242361 #35338E #4643BB #7270CC

Accessibility & contrast

On white

10.42
#35338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#35338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35338E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35338E#FFFFFF#000000##FFFFFF
##35338E1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #35338e;
/* rgb */ color: rgb(53, 51, 142);
/* oklch */ color: oklch(38.2% 0.146 277.9);
Tailwind
colors: {
  custom: {
    50: '#776bb0',
    500: '#35338e',
    950: '#000000',
  },
}
SCSS
$custom: #35338e;
$custom-light: #776bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#35338e",
  "rgb": {
    "r": 53,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 241.319,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38246,
    "c": 0.14615,
    "h": 277.9
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#35338E
secondary
#B2B469
accent
#D751D4
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #35338E

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

Preview Lab → · Contrast checker → · Palette generator →

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