#3135C5#3135C5

#3135C5 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.6% C 0.216 H 271.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3135C5
RGBrgb(49, 53, 197)
HSLhsl(238, 60%, 48%)
HSVhsv(238, 75%, 77%)
CMYKcmyk(75.1%, 73.1%, 0%, 22.7%)
CIE-LABlab(32.32, 46.76, -74.55)
CIE-LCHlch(32.32, 88.00, 302.10°)
OKLaboklab(43.63% 0.0071 -0.2158)
OKLCHoklch(43.63% 0.216 271.9)
XYZxyz(12.6144, 7.2290, 53.5430)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135C5 #C5C131
analogous
#317FC5 #3135C5 #7731C5
triadic
#3135C5 #C53135 #35C531
tetradic
#3135C5 #C5317F #C5C131 #31C577
square
#3135C5 #C5317F #C5C131 #31C577
split-complementary
#3135C5 #C57731 #7FC531
monochromatic
#191B63 #252894 #3135C5 #5D60D7 #8E90E3

Accessibility & contrast

On white

8.59
#3135C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3135C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135C5
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135C5#FFFFFF#000000##FFFFFF
##3135C51.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0045C2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3135c5;
/* rgb */ color: rgb(49, 53, 197);
/* oklch */ color: oklch(43.6% 0.216 271.9);
Tailwind
colors: {
  custom: {
    50: '#816ed8',
    500: '#3135c5',
    950: '#000000',
  },
}
SCSS
$custom: #3135c5;
$custom-light: #816ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3135c5",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 238.378,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.2159,
    "h": 271.9
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#3135C5
secondary
#CDCB85
accent
#DF44E3
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3135C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3135C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva