#3134E8#3134E8

#3134E8 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 47.2% C 0.257 H 270.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3134E8
RGBrgb(49, 52, 232)
HSLhsl(239, 80%, 55%)
HSVhsv(239, 79%, 91%)
CMYKcmyk(78.9%, 77.6%, 0%, 9%)
CIE-LABlab(35.86, 58.50, -88.90)
CIE-LCHlch(35.86, 106.42, 303.35°)
OKLaboklab(47.22% 0.0014 -0.2574)
OKLCHoklch(47.22% 0.257 270.3)
XYZxyz(17.0551, 8.9332, 77.1537)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134E8 #E8E531
analogous
#3190E8 #3134E8 #8931E8
triadic
#3134E8 #E83134 #34E831
tetradic
#3134E8 #E83190 #E8E531 #31E889
square
#3134E8 #E83190 #E8E531 #31E889
split-complementary
#3134E8 #E88931 #90E831
monochromatic
#10128F #1619C6 #3134E8 #686AEE #9FA1F4

Accessibility & contrast

On white

7.53
#3134E8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3134E8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134E8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134E8#FFFFFF#000000##FFFFFF
##3134E81.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3134e8;
/* rgb */ color: rgb(49, 52, 232);
/* oklch */ color: oklch(47.2% 0.257 270.3);
Tailwind
colors: {
  custom: {
    50: '#896ff1',
    500: '#3134e8',
    950: '#000000',
  },
}
SCSS
$custom: #3134e8;
$custom-light: #896ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#3134e8",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 232
  },
  "hsl": {
    "h": 239.016,
    "s": 79.913,
    "l": 55.098
  },
  "oklch": {
    "l": 0.47217,
    "c": 0.25744,
    "h": 270.3
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#3134E8
secondary
#E1E094
accent
#F331F6
background
#F9F6FF
surface
#F2ECFE
border
#CCC7D6
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3134E8

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

Preview Lab → · Contrast checker → · Palette generator →

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