#3135C4#3135C4

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

Color values

HEX#3135C4
RGBrgb(49, 53, 196)
HSLhsl(238, 60%, 48%)
HSVhsv(238, 75%, 77%)
CMYKcmyk(75%, 73%, 0%, 23.1%)
CIE-LABlab(32.22, 46.42, -74.13)
CIE-LCHlch(32.22, 87.47, 302.06°)
OKLaboklab(43.53% 0.0073 -0.2146)
OKLCHoklch(43.53% 0.215 271.9)
XYZxyz(12.5002, 7.1834, 52.9416)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135C4 #C4C031
analogous
#317FC4 #3135C4 #7631C4
triadic
#3135C4 #C43135 #35C431
tetradic
#3135C4 #C4317F #C4C031 #31C476
square
#3135C4 #C4317F #C4C031 #31C476
split-complementary
#3135C4 #C47631 #7FC431
monochromatic
#191B62 #252893 #3135C4 #5C5FD6 #8D8FE2

Accessibility & contrast

On white

8.62
#3135C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3135C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135C4
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135C4#FFFFFF#000000##FFFFFF
##3135C41.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0045C1
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3135c4;
/* rgb */ color: rgb(49, 53, 196);
/* oklch */ color: oklch(43.5% 0.215 271.9);
Tailwind
colors: {
  custom: {
    50: '#816ed7',
    500: '#3135c4',
    950: '#000000',
  },
}
SCSS
$custom: #3135c4;
$custom-light: #816ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3135c4",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 238.367,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43525,
    "c": 0.21468,
    "h": 271.9
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#3135C4
secondary
#CDCB84
accent
#DF45E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3135C4

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

Preview Lab → · Contrast checker → · Palette generator →

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