#3147E2#3147E2

#3147E2 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.233 H 268.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3147E2
RGBrgb(49, 71, 226)
HSLhsl(233, 75%, 54%)
HSVhsv(233, 78%, 89%)
CMYKcmyk(78.3%, 68.6%, 0%, 11.4%)
CIE-LABlab(38.98, 46.06, -80.32)
CIE-LCHlch(38.98, 92.58, 299.83°)
OKLaboklab(49.27% -0.0045 -0.2326)
OKLCHoklch(49.27% 0.233 268.9)
XYZxyz(17.2426, 10.6485, 73.0834)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147E2 #E2CC31
analogous
#31A0E2 #3147E2 #7431E2
triadic
#3147E2 #E23147 #47E231
tetradic
#3147E2 #E231A0 #E2CC31 #31E274
square
#3147E2 #E231A0 #E2CC31 #31E274
split-complementary
#3147E2 #E27431 #A0E231
monochromatic
#132186 #1A2EBB #3147E2 #6777EA #9CA7F1

Accessibility & contrast

On white

6.71
#3147E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3147E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3147E2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147E2#FFFFFF#000000##FFFFFF
##3147E21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0053DF
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3147e2;
/* rgb */ color: rgb(49, 71, 226);
/* oklch */ color: oklch(49.3% 0.233 268.9);
Tailwind
colors: {
  custom: {
    50: '#867bec',
    500: '#3147e2',
    950: '#000000',
  },
}
SCSS
$custom: #3147e2;
$custom-light: #867bec;
$custom-dark: #000000;
JSON
{
  "hex": "#3147e2",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 232.542,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49265,
    "c": 0.23266,
    "h": 268.9
  },
  "luminance": 0.1065
}

Semantic roles & 50–950 ramp

primary
#3147E2
secondary
#DDD492
accent
#DB36F2
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3147E2

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

Preview Lab → · Contrast checker → · Palette generator →

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