#35339F#35339F

#35339F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.169 H 276.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#35339F
RGBrgb(53, 51, 159)
HSLhsl(241, 51%, 41%)
HSVhsv(241, 68%, 62%)
CMYKcmyk(66.7%, 67.9%, 0%, 37.6%)
CIE-LABlab(28.45, 35.52, -58.26)
CIE-LCHlch(28.45, 68.23, 301.37°)
OKLaboklab(39.8% 0.0185 -0.1681)
OKLCHoklch(39.8% 0.169 276.3)
XYZxyz(8.9080, 5.6270, 33.4108)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35339F #9D9F33
analogous
#33679F #35339F #6B339F
triadic
#35339F #9F3533 #339F35
tetradic
#35339F #9F3367 #9D9F33 #339F6B
square
#35339F #9F3367 #9D9F33 #339F6B
split-complementary
#35339F #9F6B33 #679F33
monochromatic
#161542 #262471 #35339F #4C4AC5 #7A79D4

Accessibility & contrast

On white

9.88
#35339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#35339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35339F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35339F#FFFFFF#000000##FFFFFF
##35339F1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #35339f;
/* rgb */ color: rgb(53, 51, 159);
/* oklch */ color: oklch(39.8% 0.169 276.3);
Tailwind
colors: {
  custom: {
    50: '#7a6bbc',
    500: '#35339f',
    950: '#000000',
  },
}
SCSS
$custom: #35339f;
$custom-light: #7a6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#35339f",
  "rgb": {
    "r": 53,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 241.111,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39801,
    "c": 0.16914,
    "h": 276.3
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#35339F
secondary
#BBBC71
accent
#DB4DD8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #35339F

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

Preview Lab → · Contrast checker → · Palette generator →

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