#35338D#35338D

#35338D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.145 H 278.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#35338D
RGBrgb(53, 51, 141)
HSLhsl(241, 47%, 38%)
HSVhsv(241, 64%, 55%)
CMYKcmyk(62.4%, 63.8%, 0%, 44.7%)
CIE-LABlab(26.87, 29.28, -49.81)
CIE-LCHlch(26.87, 57.78, 300.45°)
OKLaboklab(38.16% 0.0202 -0.1433)
OKLCHoklch(38.16% 0.145 278)
XYZxyz(7.4582, 5.0471, 25.7753)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35338D #8B8D33
analogous
#335E8D #35338D #62338D
triadic
#35338D #8D3533 #338D35
tetradic
#35338D #8D335E #8B8D33 #338D62
square
#35338D #8D335E #8B8D33 #338D62
split-complementary
#35338D #8D6233 #5E8D33
monochromatic
#131233 #242360 #35338D #4643BA #716FCB

Accessibility & contrast

On white

10.45
#35338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#35338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35338D
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35338D#FFFFFF#000000##FFFFFF
##35338D1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #35338d;
/* rgb */ color: rgb(53, 51, 141);
/* oklch */ color: oklch(38.2% 0.145 278.0);
Tailwind
colors: {
  custom: {
    50: '#766baf',
    500: '#35338d',
    950: '#000000',
  },
}
SCSS
$custom: #35338d;
$custom-light: #766baf;
$custom-dark: #000000;
JSON
{
  "hex": "#35338d",
  "rgb": {
    "r": 53,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 241.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38158,
    "c": 0.14475,
    "h": 278
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#35338D
secondary
#B1B369
accent
#D751D4
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #35338D

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

Preview Lab → · Contrast checker → · Palette generator →

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