#35398D#35398D

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

Color values

HEX#35398D
RGBrgb(53, 57, 141)
HSLhsl(237, 45%, 38%)
HSVhsv(237, 62%, 55%)
CMYKcmyk(62.4%, 59.6%, 0%, 44.7%)
CIE-LABlab(28.39, 25.34, -47.33)
CIE-LCHlch(28.39, 53.69, 298.17°)
OKLaboklab(39.28% 0.0144 -0.136)
OKLCHoklch(39.28% 0.137 276)
XYZxyz(7.7375, 5.6056, 25.8684)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35398D #8D8935
analogous
#35658D #35398D #5D358D
triadic
#35398D #8D3539 #398D35
tetradic
#35398D #8D3565 #8D8935 #358D5D
square
#35398D #8D3565 #8D8935 #358D5D
split-complementary
#35398D #8D5D35 #658D35
monochromatic
#141534 #242761 #35398D #464BB9 #7276CA

Accessibility & contrast

On white

9.90
#35398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35398D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35398D#FFFFFF#000000##FFFFFF
##35398D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #35398d;
/* rgb */ color: rgb(53, 57, 141);
/* oklch */ color: oklch(39.3% 0.137 276.0);
Tailwind
colors: {
  custom: {
    50: '#766faf',
    500: '#35398d',
    950: '#000000',
  },
}
SCSS
$custom: #35398d;
$custom-light: #766faf;
$custom-dark: #000000;
JSON
{
  "hex": "#35398d",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 237.273,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39284,
    "c": 0.13676,
    "h": 276
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#35398D
secondary
#B2AF6B
accent
#CF53D5
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #35398D

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

Preview Lab → · Contrast checker → · Palette generator →

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