#35318C#35318C

#35318C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.146 H 278.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#35318C
RGBrgb(53, 49, 140)
HSLhsl(243, 48%, 37%)
HSVhsv(243, 65%, 55%)
CMYKcmyk(62.1%, 65%, 0%, 45.1%)
CIE-LABlab(26.29, 30.23, -50.13)
CIE-LCHlch(26.29, 58.54, 301.09°)
OKLaboklab(37.71% 0.0221 -0.1443)
OKLCHoklch(37.71% 0.146 278.7)
XYZxyz(7.2986, 4.8464, 25.3567)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35318C #888C31
analogous
#315B8C #35318C #62318C
triadic
#35318C #8C3531 #318C35
tetradic
#35318C #8C315B #888C31 #318C62
square
#35318C #8C315B #888C31 #318C62
split-complementary
#35318C #8C6231 #5B8C31
monochromatic
#131131 #24215F #35318C #4641B9 #706CCC

Accessibility & contrast

On white

10.66
#35318C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#35318C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35318C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35318C#FFFFFF#000000##FFFFFF
##35318C1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #35318c;
/* rgb */ color: rgb(53, 49, 140);
/* oklch */ color: oklch(37.7% 0.146 278.7);
Tailwind
colors: {
  custom: {
    50: '#7669ae',
    500: '#35318c',
    950: '#000000',
  },
}
SCSS
$custom: #35318c;
$custom-light: #7669ae;
$custom-dark: #000000;
JSON
{
  "hex": "#35318c",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 242.637,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37711,
    "c": 0.14598,
    "h": 278.7
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#35318C
secondary
#B0B366
accent
#D850D2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #35318C

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

Preview Lab → · Contrast checker → · Palette generator →

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