#35318F#35318F

#35318F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.150 H 278.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#35318F
RGBrgb(53, 49, 143)
HSLhsl(243, 49%, 38%)
HSVhsv(243, 66%, 56%)
CMYKcmyk(62.9%, 65.7%, 0%, 43.9%)
CIE-LABlab(26.55, 31.26, -51.56)
CIE-LCHlch(26.55, 60.30, 301.23°)
OKLaboklab(37.98% 0.0219 -0.1485)
OKLCHoklch(37.98% 0.15 278.4)
XYZxyz(7.5228, 4.9361, 26.5376)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35318F #8B8F31
analogous
#315C8F #35318F #64318F
triadic
#35318F #8F3531 #318F35
tetradic
#35318F #8F315C #8B8F31 #318F64
square
#35318F #8F315C #8B8F31 #318F64
split-complementary
#35318F #8F6431 #5C8F31
monochromatic
#131234 #242161 #35318F #4641BD #716DCD

Accessibility & contrast

On white

10.57
#35318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#35318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35318F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35318F#FFFFFF#000000##FFFFFF
##35318F1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35318f;
/* rgb */ color: rgb(53, 49, 143);
/* oklch */ color: oklch(38.0% 0.150 278.4);
Tailwind
colors: {
  custom: {
    50: '#7769b1',
    500: '#35318f',
    950: '#000000',
  },
}
SCSS
$custom: #35318f;
$custom-light: #7769b1;
$custom-dark: #000000;
JSON
{
  "hex": "#35318f",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 242.553,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3798,
    "c": 0.1501,
    "h": 278.4
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#35318F
secondary
#B1B567
accent
#D94FD3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #35318F

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

Preview Lab → · Contrast checker → · Palette generator →

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