#35399E#35399E

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

Color values

HEX#35399E
RGBrgb(53, 57, 158)
HSLhsl(238, 50%, 41%)
HSVhsv(238, 66%, 62%)
CMYKcmyk(66.5%, 63.9%, 0%, 38%)
CIE-LABlab(29.79, 31.37, -55.46)
CIE-LCHlch(29.79, 63.72, 299.50°)
OKLaboklab(40.75% 0.0138 -0.1599)
OKLCHoklch(40.75% 0.161 274.9)
XYZxyz(9.1008, 6.1510, 33.0488)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35399E #9E9A35
analogous
#356E9E #35399E #66359E
triadic
#35399E #9E3539 #399E35
tetradic
#35399E #9E356E #9E9A35 #359E66
square
#35399E #9E356E #9E9A35 #359E66
split-complementary
#35399E #9E6635 #6E9E35
monochromatic
#161842 #262870 #35399E #4D51C3 #7B7ED3

Accessibility & contrast

On white

9.42
#35399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#35399E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35399E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35399E#FFFFFF#000000##FFFFFF
##35399E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35399e;
/* rgb */ color: rgb(53, 57, 158);
/* oklch */ color: oklch(40.7% 0.161 274.9);
Tailwind
colors: {
  custom: {
    50: '#796fbc',
    500: '#35399e',
    950: '#000000',
  },
}
SCSS
$custom: #35399e;
$custom-light: #796fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#35399e",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 237.714,
    "s": 49.763,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40749,
    "c": 0.1605,
    "h": 274.9
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#35399E
secondary
#BBB973
accent
#D44FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #35399E

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

Preview Lab → · Contrast checker → · Palette generator →

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