#35338C#35338C

#35338C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.143 H 278.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#35338C
RGBrgb(53, 51, 140)
HSLhsl(241, 47%, 37%)
HSVhsv(241, 64%, 55%)
CMYKcmyk(62.1%, 63.6%, 0%, 45.1%)
CIE-LABlab(26.78, 28.93, -49.33)
CIE-LCHlch(26.78, 57.19, 300.39°)
OKLaboklab(38.07% 0.0203 -0.1419)
OKLCHoklch(38.07% 0.143 278.1)
XYZxyz(7.3841, 5.0174, 25.3852)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35338C #8A8C33
analogous
#335E8C #35338C #61338C
triadic
#35338C #8C3533 #338C35
tetradic
#35338C #8C335E #8A8C33 #338C61
square
#35338C #8C335E #8A8C33 #338C61
split-complementary
#35338C #8C6133 #5E8C33
monochromatic
#131232 #24235F #35338C #4643B9 #716FCB

Accessibility & contrast

On white

10.48
#35338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#35338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35338C
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35338C#FFFFFF#000000##FFFFFF
##35338C1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #35338c;
/* rgb */ color: rgb(53, 51, 140);
/* oklch */ color: oklch(38.1% 0.143 278.1);
Tailwind
colors: {
  custom: {
    50: '#766bae',
    500: '#35338c',
    950: '#000000',
  },
}
SCSS
$custom: #35338c;
$custom-light: #766bae;
$custom-dark: #000000;
JSON
{
  "hex": "#35338c",
  "rgb": {
    "r": 53,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 241.348,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3807,
    "c": 0.14337,
    "h": 278.1
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#35338C
secondary
#B1B268
accent
#D652D3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #35338C

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

Preview Lab → · Contrast checker → · Palette generator →

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