#35317E#35317E

#35317E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.126 H 280.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#35317E
RGBrgb(53, 49, 126)
HSLhsl(243, 44%, 34%)
HSVhsv(243, 61%, 49%)
CMYKcmyk(57.9%, 61.1%, 0%, 50.6%)
CIE-LABlab(25.14, 25.37, -43.26)
CIE-LCHlch(25.14, 50.15, 300.39°)
OKLaboklab(36.5% 0.0229 -0.1241)
OKLCHoklch(36.5% 0.126 280.4)
XYZxyz(6.3312, 4.4595, 20.2618)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35317E #7A7E31
analogous
#31547E #35317E #5C317E
triadic
#35317E #7E3531 #317E35
tetradic
#35317E #7E3154 #7A7E31 #317E5C
square
#35317E #7E3154 #7A7E31 #317E5C
split-complementary
#35317E #7E5C31 #547E31
monochromatic
#100F26 #222052 #35317E #4842AA #6B66C3

Accessibility & contrast

On white

11.10
#35317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#35317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35317E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35317E#FFFFFF#000000##FFFFFF
##35317E1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#104352
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #35317e;
/* rgb */ color: rgb(53, 49, 126);
/* oklch */ color: oklch(36.5% 0.126 280.4);
Tailwind
colors: {
  custom: {
    50: '#7469a4',
    500: '#35317e',
    950: '#000000',
  },
}
SCSS
$custom: #35317e;
$custom-light: #7469a4;
$custom-dark: #000000;
JSON
{
  "hex": "#35317e",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 243.117,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36499,
    "c": 0.12619,
    "h": 280.4
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#35317E
secondary
#A7AB60
accent
#D454CD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #35317E

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

Preview Lab → · Contrast checker → · Palette generator →

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