#35399F#35399F

#35399F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.162 H 274.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#35399F
RGBrgb(53, 57, 159)
HSLhsl(238, 50%, 42%)
HSVhsv(238, 67%, 62%)
CMYKcmyk(66.7%, 64.2%, 0%, 37.6%)
CIE-LABlab(29.88, 31.73, -55.93)
CIE-LCHlch(29.88, 64.30, 299.57°)
OKLaboklab(40.84% 0.0138 -0.1613)
OKLCHoklch(40.84% 0.162 274.9)
XYZxyz(9.1873, 6.1855, 33.5039)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35399F #9F9B35
analogous
#356E9F #35399F #66359F
triadic
#35399F #9F3539 #399F35
tetradic
#35399F #9F356E #9F9B35 #359F66
square
#35399F #9F356E #9F9B35 #359F66
split-complementary
#35399F #9F6635 #6E9F35
monochromatic
#161843 #262971 #35399F #4D52C4 #7B7FD3

Accessibility & contrast

On white

9.39
#35399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#35399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35399F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35399F#FFFFFF#000000##FFFFFF
##35399F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #35399f;
/* rgb */ color: rgb(53, 57, 159);
/* oklch */ color: oklch(40.8% 0.162 274.9);
Tailwind
colors: {
  custom: {
    50: '#7a6fbc',
    500: '#35399f',
    950: '#000000',
  },
}
SCSS
$custom: #35399f;
$custom-light: #7a6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#35399f",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 237.736,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40838,
    "c": 0.16185,
    "h": 274.9
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#35399F
secondary
#BCB974
accent
#D44EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #35399F

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

Preview Lab → · Contrast checker → · Palette generator →

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