#3141C8#3141C8

#3141C8 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.8% C 0.207 H 270.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3141C8
RGBrgb(49, 65, 200)
HSLhsl(234, 61%, 49%)
HSVhsv(234, 76%, 78%)
CMYKcmyk(75.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(35.21, 40.66, -71.55)
CIE-LCHlch(35.21, 82.30, 299.61°)
OKLaboklab(45.79% 0.0008 -0.207)
OKLCHoklch(45.79% 0.207 270.2)
XYZxyz(13.5787, 8.6022, 55.5771)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141C8 #C8B831
analogous
#318DC8 #3141C8 #6C31C8
triadic
#3141C8 #C83141 #41C831
tetradic
#3141C8 #C8318D #C8B831 #31C86C
square
#3141C8 #C8318D #C8B831 #31C86C
split-complementary
#3141C8 #C86C31 #8DC831
monochromatic
#192166 #253197 #3141C8 #5F6BD8 #9099E4

Accessibility & contrast

On white

7.72
#3141C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3141C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3141C8
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3141C8#FFFFFF#000000##FFFFFF
##3141C81.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)
#005ACC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3141c8;
/* rgb */ color: rgb(49, 65, 200);
/* oklch */ color: oklch(45.8% 0.207 270.2);
Tailwind
colors: {
  custom: {
    50: '#8176da',
    500: '#3141c8',
    950: '#000000',
  },
}
SCSS
$custom: #3141c8;
$custom-light: #8176da;
$custom-dark: #000000;
JSON
{
  "hex": "#3141c8",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 233.642,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45791,
    "c": 0.20705,
    "h": 270.2
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#3141C8
secondary
#CEC786
accent
#D344E4
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3141C8

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

Preview Lab → · Contrast checker → · Palette generator →

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