#35339B#35339B

#35339B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.164 H 276.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#35339B
RGBrgb(53, 51, 155)
HSLhsl(241, 50%, 40%)
HSVhsv(241, 67%, 61%)
CMYKcmyk(65.8%, 67.1%, 0%, 39.2%)
CIE-LABlab(28.09, 34.14, -56.42)
CIE-LCHlch(28.09, 65.94, 301.18°)
OKLaboklab(39.43% 0.019 -0.1627)
OKLCHoklch(39.43% 0.164 276.6)
XYZxyz(8.5665, 5.4904, 31.6123)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35339B #999B33
analogous
#33659B #35339B #69339B
triadic
#35339B #9B3533 #339B35
tetradic
#35339B #9B3365 #999B33 #339B69
square
#35339B #9B3365 #999B33 #339B69
split-complementary
#35339B #9B6933 #659B33
monochromatic
#16153F #25246D #35339B #4B48C3 #7876D2

Accessibility & contrast

On white

10.01
#35339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#35339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35339B
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35339B#FFFFFF#000000##FFFFFF
##35339B1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #35339b;
/* rgb */ color: rgb(53, 51, 155);
/* oklch */ color: oklch(39.4% 0.164 276.6);
Tailwind
colors: {
  custom: {
    50: '#796bb9',
    500: '#35339b',
    950: '#000000',
  },
}
SCSS
$custom: #35339b;
$custom-light: #796bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#35339b",
  "rgb": {
    "r": 53,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 241.154,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39426,
    "c": 0.16383,
    "h": 276.6
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#35339B
secondary
#B9BA6F
accent
#DA4ED7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #35339B

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

Preview Lab → · Contrast checker → · Palette generator →

#35339B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva