#35398F#35398F

#35398F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.140 H 275.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#35398F
RGBrgb(53, 57, 143)
HSLhsl(237, 46%, 38%)
HSVhsv(237, 63%, 56%)
CMYKcmyk(62.9%, 60.1%, 0%, 43.9%)
CIE-LABlab(28.55, 26.05, -48.30)
CIE-LCHlch(28.55, 54.88, 298.34°)
OKLaboklab(39.45% 0.0144 -0.1389)
OKLCHoklch(39.45% 0.14 275.9)
XYZxyz(7.8876, 5.6657, 26.6592)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35398F #8F8B35
analogous
#35668F #35398F #5E358F
triadic
#35398F #8F3539 #398F35
tetradic
#35398F #8F3566 #8F8B35 #358F5E
square
#35398F #8F3566 #8F8B35 #358F5E
split-complementary
#35398F #8F5E35 #668F35
monochromatic
#141536 #242762 #35398F #474CBB #7377CB

Accessibility & contrast

On white

9.84
#35398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35398F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35398F#FFFFFF#000000##FFFFFF
##35398F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #35398f;
/* rgb */ color: rgb(53, 57, 143);
/* oklch */ color: oklch(39.5% 0.140 275.9);
Tailwind
colors: {
  custom: {
    50: '#766fb0',
    500: '#35398f',
    950: '#000000',
  },
}
SCSS
$custom: #35398f;
$custom-light: #766fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#35398f",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 237.333,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39451,
    "c": 0.13961,
    "h": 275.9
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#35398F
secondary
#B4B06C
accent
#D052D6
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #35398F

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

Preview Lab → · Contrast checker → · Palette generator →

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