#4146C5#4146C5

#4146C5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.3% C 0.193 H 274.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4146C5
RGBrgb(65, 70, 197)
HSLhsl(238, 53%, 51%)
HSVhsv(238, 67%, 77%)
CMYKcmyk(67%, 64.5%, 0%, 22.7%)
CIE-LABlab(36.99, 38.41, -66.84)
CIE-LCHlch(36.99, 77.09, 299.88°)
OKLaboklab(47.25% 0.015 -0.1929)
OKLCHoklch(47.25% 0.193 274.4)
XYZxyz(14.4448, 9.5340, 53.8915)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4146C5 #C5C041
analogous
#4188C5 #4146C5 #7E41C5
triadic
#4146C5 #C54146 #46C541
tetradic
#4146C5 #C54188 #C5C041 #41C57E
square
#4146C5 #C54188 #C5C041 #41C57E
split-complementary
#4146C5 #C57E41 #88C541
monochromatic
#21236B #2F339A #4146C5 #7074D3 #9FA1E2

Accessibility & contrast

On white

7.22
#4146C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4146C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4146C5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4146C5#FFFFFF#000000##FFFFFF
##4146C51.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4146c5;
/* rgb */ color: rgb(65, 70, 197);
/* oklch */ color: oklch(47.3% 0.193 274.4);
Tailwind
colors: {
  custom: {
    50: '#867ad8',
    500: '#4146c5',
    950: '#000000',
  },
}
SCSS
$custom: #4146c5;
$custom-light: #867ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#4146c5",
  "rgb": {
    "r": 65,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 237.727,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47252,
    "c": 0.19345,
    "h": 274.4
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#4146C5
secondary
#CECC94
accent
#D74BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #4146C5

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

Preview Lab → · Contrast checker → · Palette generator →

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