#4149C2#4149C2

#4149C2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.5% C 0.186 H 274.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4149C2
RGBrgb(65, 73, 194)
HSLhsl(236, 51%, 51%)
HSVhsv(236, 66%, 76%)
CMYKcmyk(66.5%, 62.4%, 0%, 23.9%)
CIE-LABlab(37.45, 35.53, -64.34)
CIE-LCHlch(37.45, 73.50, 298.91°)
OKLaboklab(47.51% 0.0129 -0.1855)
OKLCHoklch(47.51% 0.186 274)
XYZxyz(14.2969, 9.7827, 52.1633)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4149C2 #C2BA41
analogous
#4189C2 #4149C2 #7941C2
triadic
#4149C2 #C24149 #49C241
tetradic
#4149C2 #C24189 #C2BA41 #41C279
square
#4149C2 #C24189 #C2BA41 #41C279
split-complementary
#4149C2 #C27941 #89C241
monochromatic
#212667 #303696 #4149C2 #6F75D1 #9EA2E0

Accessibility & contrast

On white

7.10
#4149C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4149C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4149C2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4149C2#FFFFFF#000000##FFFFFF
##4149C21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4149c2;
/* rgb */ color: rgb(65, 73, 194);
/* oklch */ color: oklch(47.5% 0.186 274.0);
Tailwind
colors: {
  custom: {
    50: '#857cd5',
    500: '#4149c2',
    950: '#000000',
  },
}
SCSS
$custom: #4149c2;
$custom-light: #857cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4149c2",
  "rgb": {
    "r": 65,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 236.279,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.18598,
    "h": 274
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#4149C2
secondary
#CCC893
accent
#D24DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4149C2

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

Preview Lab → · Contrast checker → · Palette generator →

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