#3135E2#3135E2

#3135E2 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.7% C 0.250 H 270.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3135E2
RGBrgb(49, 53, 226)
HSLhsl(239, 75%, 54%)
HSVhsv(239, 78%, 89%)
CMYKcmyk(78.3%, 76.5%, 0%, 11.4%)
CIE-LABlab(35.38, 56.13, -86.27)
CIE-LCHlch(35.38, 102.92, 303.05°)
OKLaboklab(46.69% 0.0022 -0.2498)
OKLCHoklch(46.69% 0.25 270.5)
XYZxyz(16.2625, 8.6883, 72.7567)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135E2 #E2DE31
analogous
#318EE2 #3135E2 #8631E2
triadic
#3135E2 #E23135 #35E231
tetradic
#3135E2 #E2318E #E2DE31 #31E286
square
#3135E2 #E2318E #E2DE31 #31E286
split-complementary
#3135E2 #E28631 #8EE231
monochromatic
#131586 #1A1EBB #3135E2 #676AEA #9C9EF1

Accessibility & contrast

On white

7.67
#3135E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3135E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135E2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135E2#FFFFFF#000000##FFFFFF
##3135E21.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE7
Deuteranopia (green-blind)
#004ADF
Tritanopia (blue-blind)
#006A8A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3135e2;
/* rgb */ color: rgb(49, 53, 226);
/* oklch */ color: oklch(46.7% 0.250 270.5);
Tailwind
colors: {
  custom: {
    50: '#886fed',
    500: '#3135e2',
    950: '#000000',
  },
}
SCSS
$custom: #3135e2;
$custom-light: #886fed;
$custom-dark: #000000;
JSON
{
  "hex": "#3135e2",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 226
  },
  "hsl": {
    "h": 238.644,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.46691,
    "c": 0.24984,
    "h": 270.5
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#3135E2
secondary
#DDDB92
accent
#EE36F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3135E2

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

Preview Lab → · Contrast checker → · Palette generator →

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