#3141C2#3141C2

#3141C2 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.199 H 270.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#3141C2
RGBrgb(49, 65, 194)
HSLhsl(233, 60%, 48%)
HSVhsv(233, 75%, 76%)
CMYKcmyk(74.7%, 66.5%, 0%, 23.9%)
CIE-LABlab(34.66, 38.55, -68.95)
CIE-LCHlch(34.66, 79.00, 299.21°)
OKLaboklab(45.22% 0.0013 -0.1995)
OKLCHoklch(45.22% 0.199 270.4)
XYZxyz(12.8912, 8.3272, 51.9564)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141C2 #C2B231
analogous
#318AC2 #3141C2 #6931C2
triadic
#3141C2 #C23141 #41C231
tetradic
#3141C2 #C2318A #C2B231 #31C269
square
#3141C2 #C2318A #C2B231 #31C269
split-complementary
#3141C2 #C26931 #8AC231
monochromatic
#182060 #253191 #3141C2 #5B68D6 #8C95E2

Accessibility & contrast

On white

7.88
#3141C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3141C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3141C2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3141C2#FFFFFF#000000##FFFFFF
##3141C21.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3141c2;
/* rgb */ color: rgb(49, 65, 194);
/* oklch */ color: oklch(45.2% 0.199 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f76d6',
    500: '#3141c2',
    950: '#000000',
  },
}
SCSS
$custom: #3141c2;
$custom-light: #7f76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3141c2",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 233.379,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.19946,
    "h": 270.4
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#3141C2
secondary
#CCC483
accent
#D145E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3141C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3141C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva