#4142FF#4142FF

#4142FF is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 52.2% C 0.267 H 272.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4142FF
RGBrgb(65, 66, 255)
HSLhsl(240, 100%, 63%)
HSVhsv(240, 75%, 100%)
CMYKcmyk(74.5%, 74.1%, 0%, 0%)
CIE-LABlab(41.59, 59.55, -92.34)
CIE-LCHlch(41.59, 109.88, 302.82°)
OKLaboklab(52.19% 0.0094 -0.2673)
OKLCHoklch(52.19% 0.267 272)
XYZxyz(22.1721, 12.2379, 95.7820)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142FF #FFFE41
analogous
#41A1FF #4142FF #9F41FF
triadic
#4142FF #FF4142 #42FF41
tetradic
#4142FF #FF41A1 #FFFE41 #41FF9F
square
#4142FF #FF41A1 #FFFE41 #41FF9F
split-complementary
#4142FF #FF9F41 #A1FF41
monochromatic
#0001C6 #0405FF #4142FF #7E7FFF #BBBCFF

Accessibility & contrast

On white

6.09
#4142FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4142FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4142FF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142FF#FFFFFF#000000##FFFFFF
##4142FF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BFF
Deuteranopia (green-blind)
#0059FC
Tritanopia (blue-blind)
#007A9E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4142ff;
/* rgb */ color: rgb(65, 66, 255);
/* oklch */ color: oklch(52.2% 0.267 272.0);
Tailwind
colors: {
  custom: {
    50: '#9279ff',
    500: '#4142ff',
    950: '#000000',
  },
}
SCSS
$custom: #4142ff;
$custom-light: #9279ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4142ff",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 255
  },
  "hsl": {
    "h": 239.684,
    "s": 100,
    "l": 62.745
  },
  "oklch": {
    "l": 0.52188,
    "c": 0.26746,
    "h": 272
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#4142FF
secondary
#F0F0AC
accent
#E400E6
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0918
muted
#7F7B86

Preview Lab

Preview with #4142FF

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

Preview Lab → · Contrast checker → · Palette generator →

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