#4142C0#4142C0

#4142C0 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.192 H 275.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4142C0
RGBrgb(65, 66, 192)
HSLhsl(240, 50%, 50%)
HSVhsv(240, 66%, 75%)
CMYKcmyk(66.1%, 65.6%, 0%, 24.7%)
CIE-LABlab(35.64, 39.17, -66.12)
CIE-LCHlch(35.64, 76.85, 300.64°)
OKLaboklab(46.14% 0.0184 -0.1908)
OKLCHoklch(46.14% 0.192 275.5)
XYZxyz(13.6395, 8.8248, 50.8435)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142C0 #C0BF41
analogous
#4181C0 #4142C0 #8041C0
triadic
#4142C0 #C04142 #42C041
tetradic
#4142C0 #C04181 #C0BF41 #41C080
square
#4142C0 #C04181 #C0BF41 #41C080
split-complementary
#4142C0 #C08041 #81C041
monochromatic
#222265 #313293 #4142C0 #6F70CF #9D9DDE

Accessibility & contrast

On white

7.59
#4142C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4142C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4142C0
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142C0#FFFFFF#000000##FFFFFF
##4142C01.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4142c0;
/* rgb */ color: rgb(65, 66, 192);
/* oklch */ color: oklch(46.1% 0.192 275.5);
Tailwind
colors: {
  custom: {
    50: '#8577d4',
    500: '#4142c0',
    950: '#000000',
  },
}
SCSS
$custom: #4142c0;
$custom-light: #8577d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4142c0",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 239.528,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46138,
    "c": 0.19168,
    "h": 275.5
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#4142C0
secondary
#CBCA92
accent
#D94EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4142C0

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

Preview Lab → · Contrast checker → · Palette generator →

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