#4146C7#4146C7

#4146C7 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.196 H 274.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4146C7
RGBrgb(65, 70, 199)
HSLhsl(238, 54%, 52%)
HSVhsv(238, 67%, 78%)
CMYKcmyk(67.3%, 64.8%, 0%, 22%)
CIE-LABlab(37.16, 39.09, -67.72)
CIE-LCHlch(37.16, 78.19, 299.99°)
OKLaboklab(47.43% 0.0148 -0.1955)
OKLCHoklch(47.43% 0.196 274.3)
XYZxyz(14.6755, 9.6263, 55.1064)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4146C7 #C7C241
analogous
#4189C7 #4146C7 #7F41C7
triadic
#4146C7 #C74146 #46C741
tetradic
#4146C7 #C74189 #C7C241 #41C77F
square
#4146C7 #C74189 #C7C241 #41C77F
split-complementary
#4146C7 #C77F41 #89C741
monochromatic
#20236D #2E329D #4146C7 #7074D5 #A0A2E3

Accessibility & contrast

On white

7.18
#4146C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4146C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4146C7
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4146C7#FFFFFF#000000##FFFFFF
##4146C71.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4146c7;
/* rgb */ color: rgb(65, 70, 199);
/* oklch */ color: oklch(47.4% 0.196 274.3);
Tailwind
colors: {
  custom: {
    50: '#867ad9',
    500: '#4146c7',
    950: '#000000',
  },
}
SCSS
$custom: #4146c7;
$custom-light: #867ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4146c7",
  "rgb": {
    "r": 65,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 237.761,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47429,
    "c": 0.19603,
    "h": 274.3
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#4146C7
secondary
#CFCD95
accent
#D84ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4146C7

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

Preview Lab → · Contrast checker → · Palette generator →

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