#3135C7#3135C7

#3135C7 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.8% C 0.218 H 271.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3135C7
RGBrgb(49, 53, 199)
HSLhsl(238, 60%, 49%)
HSVhsv(238, 75%, 78%)
CMYKcmyk(75.4%, 73.4%, 0%, 22%)
CIE-LABlab(32.53, 47.42, -75.38)
CIE-LCHlch(32.53, 89.05, 302.17°)
OKLaboklab(43.84% 0.0068 -0.2182)
OKLCHoklch(43.84% 0.218 271.8)
XYZxyz(12.8450, 7.3213, 54.7579)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135C7 #C7C331
analogous
#3180C7 #3135C7 #7831C7
triadic
#3135C7 #C73135 #35C731
tetradic
#3135C7 #C73180 #C7C331 #31C778
square
#3135C7 #C73180 #C7C331 #31C778
split-complementary
#3135C7 #C77831 #80C731
monochromatic
#191B65 #252896 #3135C7 #5E61D7 #8F91E3

Accessibility & contrast

On white

8.52
#3135C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3135C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135C7
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135C7#FFFFFF#000000##FFFFFF
##3135C71.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0045C4
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3135c7;
/* rgb */ color: rgb(49, 53, 199);
/* oklch */ color: oklch(43.8% 0.218 271.8);
Tailwind
colors: {
  custom: {
    50: '#816ed9',
    500: '#3135c7',
    950: '#000000',
  },
}
SCSS
$custom: #3135c7;
$custom-light: #816ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3135c7",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 238.4,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43835,
    "c": 0.2183,
    "h": 271.8
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#3135C7
secondary
#CECC86
accent
#DF44E4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3135C7

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

Preview Lab → · Contrast checker → · Palette generator →

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