#35398B#35398B

#35398B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.134 H 276.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#35398B
RGBrgb(53, 57, 139)
HSLhsl(237, 45%, 38%)
HSVhsv(237, 62%, 55%)
CMYKcmyk(61.9%, 59%, 0%, 45.5%)
CIE-LABlab(28.24, 24.63, -46.34)
CIE-LCHlch(28.24, 52.48, 297.99°)
OKLaboklab(39.12% 0.0144 -0.1331)
OKLCHoklch(39.12% 0.134 276.2)
XYZxyz(7.5900, 5.5466, 25.0917)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35398B #8B8735
analogous
#35648B #35398B #5C358B
triadic
#35398B #8B3539 #398B35
tetradic
#35398B #8B3564 #8B8735 #358B5C
square
#35398B #8B3564 #8B8735 #358B5C
split-complementary
#35398B #8B5C35 #648B35
monochromatic
#131532 #24275F #35398B #464BB7 #7175C9

Accessibility & contrast

On white

9.96
#35398B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#35398B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35398B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35398B#FFFFFF#000000##FFFFFF
##35398B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #35398b;
/* rgb */ color: rgb(53, 57, 139);
/* oklch */ color: oklch(39.1% 0.134 276.2);
Tailwind
colors: {
  custom: {
    50: '#756fae',
    500: '#35398b',
    950: '#000000',
  },
}
SCSS
$custom: #35398b;
$custom-light: #756fae;
$custom-dark: #000000;
JSON
{
  "hex": "#35398b",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 237.209,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39118,
    "c": 0.13389,
    "h": 276.2
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#35398B
secondary
#B1AE6A
accent
#CE53D4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #35398B

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

Preview Lab → · Contrast checker → · Palette generator →

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