#35338F#35338F

#35338F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.148 H 277.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#35338F
RGBrgb(53, 51, 143)
HSLhsl(241, 47%, 38%)
HSVhsv(241, 64%, 56%)
CMYKcmyk(62.9%, 64.3%, 0%, 43.9%)
CIE-LABlab(27.04, 29.98, -50.77)
CIE-LCHlch(27.04, 58.96, 300.56°)
OKLaboklab(38.34% 0.0201 -0.1462)
OKLCHoklch(38.34% 0.148 277.8)
XYZxyz(7.6084, 5.1071, 26.5661)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35338F #8D8F33
analogous
#335F8F #35338F #63338F
triadic
#35338F #8F3533 #338F35
tetradic
#35338F #8F335F #8D8F33 #338F63
square
#35338F #8F335F #8D8F33 #338F63
split-complementary
#35338F #8F6333 #5F8F33
monochromatic
#141335 #242362 #35338F #4643BC #7270CC

Accessibility & contrast

On white

10.39
#35338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35338F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35338F#FFFFFF#000000##FFFFFF
##35338F1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #35338f;
/* rgb */ color: rgb(53, 51, 143);
/* oklch */ color: oklch(38.3% 0.148 277.8);
Tailwind
colors: {
  custom: {
    50: '#776bb1',
    500: '#35338f',
    950: '#000000',
  },
}
SCSS
$custom: #35338f;
$custom-light: #776bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#35338f",
  "rgb": {
    "r": 53,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 241.304,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38335,
    "c": 0.14753,
    "h": 277.8
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#35338F
secondary
#B2B46A
accent
#D751D4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #35338F

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

Preview Lab → · Contrast checker → · Palette generator →

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