#35309F#35309F

#35309F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.173 H 276.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#35309F
RGBrgb(53, 48, 159)
HSLhsl(243, 54%, 41%)
HSVhsv(243, 70%, 62%)
CMYKcmyk(66.7%, 69.8%, 0%, 37.6%)
CIE-LABlab(27.77, 37.36, -59.37)
CIE-LCHlch(27.77, 70.15, 302.18°)
OKLaboklab(39.31% 0.0207 -0.1714)
OKLCHoklch(39.31% 0.173 276.9)
XYZxyz(8.7811, 5.3732, 33.3686)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35309F #9A9F30
analogous
#30629F #35309F #6C309F
triadic
#35309F #9F3530 #309F35
tetradic
#35309F #9F3062 #9A9F30 #309F6C
square
#35309F #9F3062 #9A9F30 #309F6C
split-complementary
#35309F #9F6C30 #629F30
monochromatic
#161441 #252270 #35309F #4B45C7 #7974D5

Accessibility & contrast

On white

10.12
#35309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#35309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35309F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35309F#FFFFFF#000000##FFFFFF
##35309F1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #35309f;
/* rgb */ color: rgb(53, 48, 159);
/* oklch */ color: oklch(39.3% 0.173 276.9);
Tailwind
colors: {
  custom: {
    50: '#7a69bc',
    500: '#35309f',
    950: '#000000',
  },
}
SCSS
$custom: #35309f;
$custom-light: #7a69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#35309f",
  "rgb": {
    "r": 53,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 242.703,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39311,
    "c": 0.17263,
    "h": 276.9
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#35309F
secondary
#B9BD6E
accent
#DD4BD6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #35309F

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

Preview Lab → · Contrast checker → · Palette generator →

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