#3142C9#3142C9

#3142C9 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.1% C 0.207 H 270.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3142C9
RGBrgb(49, 66, 201)
HSLhsl(233, 61%, 49%)
HSVhsv(233, 76%, 79%)
CMYKcmyk(75.6%, 67.2%, 0%, 21.2%)
CIE-LABlab(35.53, 40.40, -71.60)
CIE-LCHlch(35.53, 82.21, 299.43°)
OKLaboklab(46.05% 0.0002 -0.2072)
OKLCHoklch(46.05% 0.207 270)
XYZxyz(13.7538, 8.7649, 56.2140)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3142C9 #C9B831
analogous
#318EC9 #3142C9 #6C31C9
triadic
#3142C9 #C93142 #42C931
tetradic
#3142C9 #C9318E #C9B831 #31C96C
square
#3142C9 #C9318E #C9B831 #31C96C
split-complementary
#3142C9 #C96C31 #8EC931
monochromatic
#192267 #253298 #3142C9 #5F6DD8 #909AE4

Accessibility & contrast

On white

7.63
#3142C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3142C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3142C9
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3142C9#FFFFFF#000000##FFFFFF
##3142C91.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3142c9;
/* rgb */ color: rgb(49, 66, 201);
/* oklch */ color: oklch(46.1% 0.207 270.0);
Tailwind
colors: {
  custom: {
    50: '#8176db',
    500: '#3142c9',
    950: '#000000',
  },
}
SCSS
$custom: #3142c9;
$custom-light: #8176db;
$custom-dark: #000000;
JSON
{
  "hex": "#3142c9",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 233.289,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46053,
    "c": 0.20721,
    "h": 270
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#3142C9
secondary
#CFC787
accent
#D244E4
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3142C9

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

Preview Lab → · Contrast checker → · Palette generator →

#3142C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva