#4049C1#4049C1

#4049C1 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.185 H 273.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4049C1
RGBrgb(64, 73, 193)
HSLhsl(236, 51%, 50%)
HSVhsv(236, 67%, 76%)
CMYKcmyk(66.8%, 62.2%, 0%, 24.3%)
CIE-LABlab(37.31, 35.04, -63.99)
CIE-LCHlch(37.31, 72.96, 298.70°)
OKLaboklab(47.36% 0.0118 -0.1845)
OKLCHoklch(47.36% 0.185 273.7)
XYZxyz(14.1193, 9.7041, 51.5707)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049C1 #C1B840
analogous
#4089C1 #4049C1 #7740C1
triadic
#4049C1 #C14049 #49C140
tetradic
#4049C1 #C14089 #C1B840 #40C177
square
#4049C1 #C14089 #C1B840 #40C177
split-complementary
#4049C1 #C17740 #89C140
monochromatic
#212666 #303794 #4049C1 #6E75D0 #9CA1DF

Accessibility & contrast

On white

7.14
#4049C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4049C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4049C1
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049C1#FFFFFF#000000##FFFFFF
##4049C11.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4049c1;
/* rgb */ color: rgb(64, 73, 193);
/* oklch */ color: oklch(47.4% 0.185 273.7);
Tailwind
colors: {
  custom: {
    50: '#847cd5',
    500: '#4049c1',
    950: '#000000',
  },
}
SCSS
$custom: #4049c1;
$custom-light: #847cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4049c1",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 193
  },
  "hsl": {
    "h": 235.814,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.18491,
    "h": 273.7
  },
  "luminance": 0.09705
}

Semantic roles & 50–950 ramp

primary
#4049C1
secondary
#CBC792
accent
#D14DDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4049C1

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

Preview Lab → · Contrast checker → · Palette generator →

#4049C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva