#35398E#35398E

#35398E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.138 H 276.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#35398E
RGBrgb(53, 57, 142)
HSLhsl(237, 46%, 38%)
HSVhsv(237, 63%, 56%)
CMYKcmyk(62.7%, 59.9%, 0%, 44.3%)
CIE-LABlab(28.47, 25.70, -47.82)
CIE-LCHlch(28.47, 54.28, 298.25°)
OKLaboklab(39.37% 0.0144 -0.1374)
OKLCHoklch(39.37% 0.138 276)
XYZxyz(7.8122, 5.6355, 26.2620)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35398E #8E8A35
analogous
#35658E #35398E #5D358E
triadic
#35398E #8E3539 #398E35
tetradic
#35398E #8E3565 #8E8A35 #358E5D
square
#35398E #8E3565 #8E8A35 #358E5D
split-complementary
#35398E #8E5D35 #658E35
monochromatic
#141535 #242761 #35398E #464BBA #7377CB

Accessibility & contrast

On white

9.87
#35398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#35398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35398E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35398E#FFFFFF#000000##FFFFFF
##35398E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #35398e;
/* rgb */ color: rgb(53, 57, 142);
/* oklch */ color: oklch(39.4% 0.138 276.0);
Tailwind
colors: {
  custom: {
    50: '#766fb0',
    500: '#35398e',
    950: '#000000',
  },
}
SCSS
$custom: #35398e;
$custom-light: #766fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#35398e",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 237.303,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39367,
    "c": 0.13819,
    "h": 276
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#35398E
secondary
#B3B06C
accent
#CF52D5
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #35398E

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

Preview Lab → · Contrast checker → · Palette generator →

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