#4149C5#4149C5

#4149C5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.190 H 273.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4149C5
RGBrgb(65, 73, 197)
HSLhsl(236, 53%, 51%)
HSVhsv(236, 67%, 77%)
CMYKcmyk(67%, 62.9%, 0%, 22.7%)
CIE-LABlab(37.70, 36.56, -65.69)
CIE-LCHlch(37.70, 75.17, 299.10°)
OKLaboklab(47.77% 0.0127 -0.1895)
OKLCHoklch(47.77% 0.19 273.8)
XYZxyz(14.6372, 9.9188, 53.9556)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4149C5 #C5BD41
analogous
#418BC5 #4149C5 #7B41C5
triadic
#4149C5 #C54149 #49C541
tetradic
#4149C5 #C5418B #C5BD41 #41C57B
square
#4149C5 #C5418B #C5BD41 #41C57B
split-complementary
#4149C5 #C57B41 #8BC541
monochromatic
#21256B #2F359A #4149C5 #7076D3 #9FA3E2

Accessibility & contrast

On white

7.04
#4149C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4149C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4149C5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4149C5#FFFFFF#000000##FFFFFF
##4149C51.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0053C3
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4149c5;
/* rgb */ color: rgb(65, 73, 197);
/* oklch */ color: oklch(47.8% 0.190 273.8);
Tailwind
colors: {
  custom: {
    50: '#867cd8',
    500: '#4149c5',
    950: '#000000',
  },
}
SCSS
$custom: #4149c5;
$custom-light: #867cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4149c5",
  "rgb": {
    "r": 65,
    "g": 73,
    "b": 197
  },
  "hsl": {
    "h": 236.364,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.18991,
    "h": 273.8
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#4149C5
secondary
#CECA94
accent
#D44BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #4149C5

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

Preview Lab → · Contrast checker → · Palette generator →

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