#4146C4#4146C4

#4146C4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.192 H 274.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4146C4
RGBrgb(65, 70, 196)
HSLhsl(238, 53%, 51%)
HSVhsv(238, 67%, 77%)
CMYKcmyk(66.8%, 64.3%, 0%, 23.1%)
CIE-LABlab(36.91, 38.07, -66.39)
CIE-LCHlch(36.91, 76.53, 299.83°)
OKLaboklab(47.16% 0.0151 -0.1916)
OKLCHoklch(47.16% 0.192 274.5)
XYZxyz(14.3306, 9.4884, 53.2901)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4146C4 #C4BF41
analogous
#4187C4 #4146C4 #7D41C4
triadic
#4146C4 #C44146 #46C441
tetradic
#4146C4 #C44187 #C4BF41 #41C47D
square
#4146C4 #C44187 #C4BF41 #41C47D
split-complementary
#4146C4 #C47D41 #87C441
monochromatic
#21246A #2F3398 #4146C4 #7073D3 #9EA1E1

Accessibility & contrast

On white

7.25
#4146C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4146C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4146C4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4146C4#FFFFFF#000000##FFFFFF
##4146C41.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4146c4;
/* rgb */ color: rgb(65, 70, 196);
/* oklch */ color: oklch(47.2% 0.192 274.5);
Tailwind
colors: {
  custom: {
    50: '#867ad7',
    500: '#4146c4',
    950: '#000000',
  },
}
SCSS
$custom: #4146c4;
$custom-light: #867ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4146c4",
  "rgb": {
    "r": 65,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 237.71,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47164,
    "c": 0.19216,
    "h": 274.5
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

primary
#4146C4
secondary
#CDCB93
accent
#D74CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4146C4

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

Preview Lab → · Contrast checker → · Palette generator →

#4146C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva