#3134E2#3134E2

#3134E2 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.6% C 0.251 H 270.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3134E2
RGBrgb(49, 52, 226)
HSLhsl(239, 75%, 54%)
HSVhsv(239, 78%, 89%)
CMYKcmyk(78.3%, 77%, 0%, 11.4%)
CIE-LABlab(35.20, 56.64, -86.57)
CIE-LCHlch(35.20, 103.45, 303.20°)
OKLaboklab(46.57% 0.0025 -0.2507)
OKLCHoklch(46.57% 0.251 270.6)
XYZxyz(16.2174, 8.5981, 72.7416)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134E2 #E2DF31
analogous
#318DE2 #3134E2 #8731E2
triadic
#3134E2 #E23134 #34E231
tetradic
#3134E2 #E2318D #E2DF31 #31E287
square
#3134E2 #E2318D #E2DF31 #31E287
split-complementary
#3134E2 #E28731 #8DE231
monochromatic
#131586 #1A1DBB #3134E2 #6769EA #9C9EF1

Accessibility & contrast

On white

7.72
#3134E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3134E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134E2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134E2#FFFFFF#000000##FFFFFF
##3134E21.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3134e2;
/* rgb */ color: rgb(49, 52, 226);
/* oklch */ color: oklch(46.6% 0.251 270.6);
Tailwind
colors: {
  custom: {
    50: '#886fed',
    500: '#3134e2',
    950: '#000000',
  },
}
SCSS
$custom: #3134e2;
$custom-light: #886fed;
$custom-dark: #000000;
JSON
{
  "hex": "#3134e2",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 226
  },
  "hsl": {
    "h": 238.983,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.46565,
    "c": 0.25069,
    "h": 270.6
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#3134E2
secondary
#DDDC92
accent
#EF36F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3134E2

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

Preview Lab → · Contrast checker → · Palette generator →

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