#3142C8#3142C8

#3142C8 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.0% C 0.206 H 270.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#3142C8
RGBrgb(49, 66, 200)
HSLhsl(233, 61%, 49%)
HSVhsv(233, 76%, 78%)
CMYKcmyk(75.5%, 67%, 0%, 21.6%)
CIE-LABlab(35.44, 40.05, -71.17)
CIE-LCHlch(35.44, 81.67, 299.37°)
OKLaboklab(45.96% 0.0003 -0.2059)
OKLCHoklch(45.96% 0.206 270.1)
XYZxyz(13.6366, 8.7180, 55.5964)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3142C8 #C8B731
analogous
#318EC8 #3142C8 #6C31C8
triadic
#3142C8 #C83142 #42C831
tetradic
#3142C8 #C8318E #C8B731 #31C86C
square
#3142C8 #C8318E #C8B731 #31C86C
split-complementary
#3142C8 #C86C31 #8EC831
monochromatic
#192266 #253297 #3142C8 #5F6CD8 #9099E4

Accessibility & contrast

On white

7.65
#3142C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3142C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3142C8
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3142C8#FFFFFF#000000##FFFFFF
##3142C81.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3142c8;
/* rgb */ color: rgb(49, 66, 200);
/* oklch */ color: oklch(46.0% 0.206 270.1);
Tailwind
colors: {
  custom: {
    50: '#8076da',
    500: '#3142c8',
    950: '#000000',
  },
}
SCSS
$custom: #3142c8;
$custom-light: #8076da;
$custom-dark: #000000;
JSON
{
  "hex": "#3142c8",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 233.245,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45958,
    "c": 0.20595,
    "h": 270.1
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3142C8

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

Preview Lab → · Contrast checker → · Palette generator →

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