#35318E#35318E

#35318E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.149 H 278.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#35318E
RGBrgb(53, 49, 142)
HSLhsl(243, 49%, 37%)
HSVhsv(243, 65%, 56%)
CMYKcmyk(62.7%, 65.5%, 0%, 44.3%)
CIE-LABlab(26.46, 30.92, -51.09)
CIE-LCHlch(26.46, 59.71, 301.18°)
OKLaboklab(37.89% 0.022 -0.1471)
OKLCHoklch(37.89% 0.149 278.5)
XYZxyz(7.4474, 4.9059, 26.1404)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35318E #8A8E31
analogous
#315B8E #35318E #64318E
triadic
#35318E #8E3531 #318E35
tetradic
#35318E #8E315B #8A8E31 #318E64
square
#35318E #8E315B #8A8E31 #318E64
split-complementary
#35318E #8E6431 #5B8E31
monochromatic
#131233 #242161 #35318E #4641BB #716DCD

Accessibility & contrast

On white

10.60
#35318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#35318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35318E
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35318E#FFFFFF#000000##FFFFFF
##35318E1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #35318e;
/* rgb */ color: rgb(53, 49, 142);
/* oklch */ color: oklch(37.9% 0.149 278.5);
Tailwind
colors: {
  custom: {
    50: '#7769b0',
    500: '#35318e',
    950: '#000000',
  },
}
SCSS
$custom: #35318e;
$custom-light: #7769b0;
$custom-dark: #000000;
JSON
{
  "hex": "#35318e",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 242.581,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3789,
    "c": 0.14873,
    "h": 278.5
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#35318E
secondary
#B1B467
accent
#D850D2
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #35318E

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

Preview Lab → · Contrast checker → · Palette generator →

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