#4142C8#4142C8

#4142C8 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 46.9% C 0.202 H 275.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4142C8
RGBrgb(65, 66, 200)
HSLhsl(240, 55%, 52%)
HSVhsv(240, 68%, 78%)
CMYKcmyk(67.5%, 67%, 0%, 21.6%)
CIE-LABlab(36.35, 41.84, -69.64)
CIE-LCHlch(36.35, 81.25, 301.00°)
OKLaboklab(46.86% 0.0176 -0.2011)
OKLCHoklch(46.86% 0.202 275)
XYZxyz(14.5501, 9.1891, 55.6393)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142C8 #C8C741
analogous
#4185C8 #4142C8 #8441C8
triadic
#4142C8 #C84142 #42C841
tetradic
#4142C8 #C84185 #C8C741 #41C884
square
#4142C8 #C84185 #C8C741 #41C884
split-complementary
#4142C8 #C88441 #85C841
monochromatic
#20216F #2E2F9E #4142C8 #7071D6 #A0A0E3

Accessibility & contrast

On white

7.40
#4142C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4142C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4142C8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142C8#FFFFFF#000000##FFFFFF
##4142C81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#004FC5
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4142c8;
/* rgb */ color: rgb(65, 66, 200);
/* oklch */ color: oklch(46.9% 0.202 275.0);
Tailwind
colors: {
  custom: {
    50: '#8777da',
    500: '#4142c8',
    950: '#000000',
  },
}
SCSS
$custom: #4142c8;
$custom-light: #8777da;
$custom-dark: #000000;
JSON
{
  "hex": "#4142c8",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 239.556,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46862,
    "c": 0.20188,
    "h": 275
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#4142C8
secondary
#D0D095
accent
#DD49DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4142C8

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

Preview Lab → · Contrast checker → · Palette generator →

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