#4142C3#4142C3

#4142C3 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.4% C 0.196 H 275.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4142C3
RGBrgb(65, 66, 195)
HSLhsl(240, 52%, 51%)
HSVhsv(240, 67%, 76%)
CMYKcmyk(66.7%, 66.2%, 0%, 23.5%)
CIE-LABlab(35.91, 40.17, -67.45)
CIE-LCHlch(35.91, 78.51, 300.78°)
OKLaboklab(46.41% 0.0181 -0.1947)
OKLCHoklch(46.41% 0.196 275.3)
XYZxyz(13.9753, 8.9591, 52.6120)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142C3 #C3C241
analogous
#4183C3 #4142C3 #8141C3
triadic
#4142C3 #C34142 #42C341
tetradic
#4142C3 #C34183 #C3C241 #41C381
square
#4142C3 #C34183 #C3C241 #41C381
split-complementary
#4142C3 #C38141 #83C341
monochromatic
#212269 #303197 #4142C3 #7070D2 #9E9FE0

Accessibility & contrast

On white

7.52
#4142C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4142C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4142C3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142C3#FFFFFF#000000##FFFFFF
##4142C31.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4142c3;
/* rgb */ color: rgb(65, 66, 195);
/* oklch */ color: oklch(46.4% 0.196 275.3);
Tailwind
colors: {
  custom: {
    50: '#8677d6',
    500: '#4142c3',
    950: '#000000',
  },
}
SCSS
$custom: #4142c3;
$custom-light: #8677d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4142c3",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 239.538,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46407,
    "c": 0.19552,
    "h": 275.3
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#4142C3
secondary
#CDCC93
accent
#DA4CDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4142C3

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

Preview Lab → · Contrast checker → · Palette generator →

#4142C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva