#3135E8#3135E8

#3135E8 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.3% C 0.257 H 270.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#3135E8
RGBrgb(49, 53, 232)
HSLhsl(239, 80%, 55%)
HSVhsv(239, 79%, 91%)
CMYKcmyk(78.9%, 77.2%, 0%, 9%)
CIE-LABlab(36.03, 58.00, -88.61)
CIE-LCHlch(36.03, 105.91, 303.21°)
OKLaboklab(47.34% 0.0011 -0.2566)
OKLCHoklch(47.34% 0.257 270.2)
XYZxyz(17.1003, 9.0234, 77.1687)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3135E8 #E8E431
analogous
#3190E8 #3135E8 #8931E8
triadic
#3135E8 #E83135 #35E831
tetradic
#3135E8 #E83190 #E8E431 #31E889
square
#3135E8 #E83190 #E8E431 #31E889
split-complementary
#3135E8 #E88931 #90E831
monochromatic
#10138F #161AC6 #3135E8 #686BEE #9FA1F4

Accessibility & contrast

On white

7.49
#3135E8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3135E8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3135E8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3135E8#FFFFFF#000000##FFFFFF
##3135E81.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EED
Deuteranopia (green-blind)
#004BE5
Tritanopia (blue-blind)
#006C8E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3135e8;
/* rgb */ color: rgb(49, 53, 232);
/* oklch */ color: oklch(47.3% 0.257 270.2);
Tailwind
colors: {
  custom: {
    50: '#896ff1',
    500: '#3135e8',
    950: '#000000',
  },
}
SCSS
$custom: #3135e8;
$custom-light: #896ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#3135e8",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 232
  },
  "hsl": {
    "h": 238.689,
    "s": 79.913,
    "l": 55.098
  },
  "oklch": {
    "l": 0.47339,
    "c": 0.25662,
    "h": 270.2
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#3135E8
secondary
#E1DF94
accent
#F231F6
background
#F9F6FF
surface
#F2ECFE
border
#CCC7D6
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #3135E8

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

Preview Lab → · Contrast checker → · Palette generator →

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