#35339E#35339E

#35339E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.168 H 276.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#35339E
RGBrgb(53, 51, 158)
HSLhsl(241, 51%, 41%)
HSVhsv(241, 68%, 62%)
CMYKcmyk(66.5%, 67.7%, 0%, 38%)
CIE-LABlab(28.36, 35.17, -57.80)
CIE-LCHlch(28.36, 67.66, 301.32°)
OKLaboklab(39.71% 0.0186 -0.1668)
OKLCHoklch(39.71% 0.168 276.4)
XYZxyz(8.8216, 5.5924, 32.9557)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35339E #9C9E33
analogous
#33669E #35339E #6A339E
triadic
#35339E #9E3533 #339E35
tetradic
#35339E #9E3366 #9C9E33 #339E6A
square
#35339E #9E3366 #9C9E33 #339E6A
split-complementary
#35339E #9E6A33 #669E33
monochromatic
#161541 #252470 #35339E #4C4AC4 #7A78D3

Accessibility & contrast

On white

9.91
#35339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#35339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35339E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35339E#FFFFFF#000000##FFFFFF
##35339E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35339e;
/* rgb */ color: rgb(53, 51, 158);
/* oklch */ color: oklch(39.7% 0.168 276.4);
Tailwind
colors: {
  custom: {
    50: '#7a6bbc',
    500: '#35339e',
    950: '#000000',
  },
}
SCSS
$custom: #35339e;
$custom-light: #7a6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#35339e",
  "rgb": {
    "r": 53,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 241.121,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39706,
    "c": 0.16782,
    "h": 276.4
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#35339E
secondary
#BABC71
accent
#DB4DD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #35339E

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

Preview Lab → · Contrast checker → · Palette generator →

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