#4142D9#4142D9

#4142D9 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.223 H 274.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4142D9
RGBrgb(65, 66, 217)
HSLhsl(240, 67%, 55%)
HSVhsv(240, 70%, 85%)
CMYKcmyk(70%, 69.6%, 0%, 14.9%)
CIE-LABlab(37.89, 47.46, -76.93)
CIE-LCHlch(37.89, 90.39, 301.67°)
OKLaboklab(48.45% 0.0154 -0.2224)
OKLCHoklch(48.45% 0.223 274)
XYZxyz(16.6484, 10.0284, 66.6905)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142D9 #D9D841
analogous
#418ED9 #4142D9 #8C41D9
triadic
#4142D9 #D94142 #42D941
tetradic
#4142D9 #D9418E #D9D841 #41D98C
square
#4142D9 #D9418E #D9D841 #41D98C
split-complementary
#4142D9 #D98C41 #8ED941
monochromatic
#1B1B85 #2526B8 #4142D9 #7475E3 #A7A7ED

Accessibility & contrast

On white

6.99
#4142D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4142D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4142D9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142D9#FFFFFF#000000##FFFFFF
##4142D91.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DE
Deuteranopia (green-blind)
#0052D6
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4142d9;
/* rgb */ color: rgb(65, 66, 217);
/* oklch */ color: oklch(48.4% 0.223 274.0);
Tailwind
colors: {
  custom: {
    50: '#8a77e6',
    500: '#4142d9',
    950: '#000000',
  },
}
SCSS
$custom: #4142d9;
$custom-light: #8a77e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4142d9",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 239.605,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.22295,
    "h": 274
  },
  "luminance": 0.1003
}

Semantic roles & 50–950 ramp

primary
#4142D9
secondary
#DBDA9B
accent
#E83EEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4142D9

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

Preview Lab → · Contrast checker → · Palette generator →

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