#35317C#35317C

#35317C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.123 H 280.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#35317C
RGBrgb(53, 49, 124)
HSLhsl(243, 43%, 34%)
HSVhsv(243, 60%, 49%)
CMYKcmyk(57.3%, 60.5%, 0%, 51.4%)
CIE-LABlab(24.98, 24.68, -42.25)
CIE-LCHlch(24.98, 48.93, 300.29°)
OKLaboklab(36.33% 0.0229 -0.1211)
OKLCHoklch(36.33% 0.123 280.7)
XYZxyz(6.2035, 4.4084, 19.5889)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35317C #787C31
analogous
#31537C #35317C #5B317C
triadic
#35317C #7C3531 #317C35
tetradic
#35317C #7C3153 #787C31 #317C5B
square
#35317C #7C3153 #787C31 #317C5B
split-complementary
#35317C #7C5B31 #537C31
monochromatic
#100E24 #222050 #35317C #4842A8 #6A65C2

Accessibility & contrast

On white

11.16
#35317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#35317C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35317C
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35317C#FFFFFF#000000##FFFFFF
##35317C1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#134351
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #35317c;
/* rgb */ color: rgb(53, 49, 124);
/* oklch */ color: oklch(36.3% 0.123 280.7);
Tailwind
colors: {
  custom: {
    50: '#7369a2',
    500: '#35317c',
    950: '#000000',
  },
}
SCSS
$custom: #35317c;
$custom-light: #7369a2;
$custom-dark: #000000;
JSON
{
  "hex": "#35317c",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 243.2,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36333,
    "c": 0.12329,
    "h": 280.7
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#35317C
secondary
#A6AA5F
accent
#D355CC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #35317C

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

Preview Lab → · Contrast checker → · Palette generator →

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