#3135CE#3135CE

#3135CE is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.227 H 271.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3135CE
RGBrgb(49, 53, 206)
HSLhsl(238, 62%, 50%)
HSVhsv(238, 76%, 81%)
CMYKcmyk(76.2%, 74.3%, 0%, 19.2%)
CIE-LABlab(33.25, 49.72, -78.26)
CIE-LCHlch(33.25, 92.72, 302.43°)
OKLaboklab(44.56% 0.0056 -0.2266)
OKLCHoklch(44.56% 0.227 271.4)
XYZxyz(13.6765, 7.6539, 59.1371)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135CE #CECA31
analogous
#3184CE #3135CE #7B31CE
triadic
#3135CE #CE3135 #35CE31
tetradic
#3135CE #CE3184 #CECA31 #31CE7B
square
#3135CE #CE3184 #CECA31 #31CE7B
split-complementary
#3135CE #CE7B31 #84CE31
monochromatic
#191C6B #25289D #3135CE #6265DA #9496E6

Accessibility & contrast

On white

8.30
#3135CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3135CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135CE
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135CE#FFFFFF#000000##FFFFFF
##3135CE1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D2
Deuteranopia (green-blind)
#0046CB
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3135ce;
/* rgb */ color: rgb(49, 53, 206);
/* oklch */ color: oklch(44.6% 0.227 271.4);
Tailwind
colors: {
  custom: {
    50: '#836ede',
    500: '#3135ce',
    950: '#000000',
  },
}
SCSS
$custom: #3135ce;
$custom-light: #836ede;
$custom-dark: #000000;
JSON
{
  "hex": "#3135ce",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 206
  },
  "hsl": {
    "h": 238.471,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.44564,
    "c": 0.22666,
    "h": 271.4
  },
  "luminance": 0.07655
}

Semantic roles & 50–950 ramp

primary
#3135CE
secondary
#D1CF8A
accent
#E143E5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3135CE

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

Preview Lab → · Contrast checker → · Palette generator →

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