#35398C#35398C

#35398C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.135 H 276.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#35398C
RGBrgb(53, 57, 140)
HSLhsl(237, 45%, 38%)
HSVhsv(237, 62%, 55%)
CMYKcmyk(62.1%, 59.3%, 0%, 45.1%)
CIE-LABlab(28.32, 24.99, -46.84)
CIE-LCHlch(28.32, 53.08, 298.08°)
OKLaboklab(39.2% 0.0144 -0.1346)
OKLCHoklch(39.2% 0.135 276.1)
XYZxyz(7.6634, 5.5760, 25.4783)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35398C #8C8835
analogous
#35658C #35398C #5C358C
triadic
#35398C #8C3539 #398C35
tetradic
#35398C #8C3565 #8C8835 #358C5C
square
#35398C #8C3565 #8C8835 #358C5C
split-complementary
#35398C #8C5C35 #658C35
monochromatic
#131533 #242760 #35398C #464BB8 #7276CA

Accessibility & contrast

On white

9.93
#35398C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#35398C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35398C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35398C#FFFFFF#000000##FFFFFF
##35398C1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #35398c;
/* rgb */ color: rgb(53, 57, 140);
/* oklch */ color: oklch(39.2% 0.135 276.1);
Tailwind
colors: {
  custom: {
    50: '#766fae',
    500: '#35398c',
    950: '#000000',
  },
}
SCSS
$custom: #35398c;
$custom-light: #766fae;
$custom-dark: #000000;
JSON
{
  "hex": "#35398c",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 237.241,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39201,
    "c": 0.13533,
    "h": 276.1
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#35398C
secondary
#B2AF6B
accent
#CF53D5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #35398C

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

Preview Lab → · Contrast checker → · Palette generator →

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