#4049C0#4049C0

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

Color values

HEX#4049C0
RGBrgb(64, 73, 192)
HSLhsl(236, 50%, 50%)
HSVhsv(236, 67%, 75%)
CMYKcmyk(66.7%, 62%, 0%, 24.7%)
CIE-LABlab(37.22, 34.69, -63.54)
CIE-LCHlch(37.22, 72.40, 298.64°)
OKLaboklab(47.28% 0.0119 -0.1832)
OKLCHoklch(47.28% 0.184 273.7)
XYZxyz(14.0082, 9.6596, 50.9852)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049C0 #C0B740
analogous
#4089C0 #4049C0 #7740C0
triadic
#4049C0 #C04049 #49C040
tetradic
#4049C0 #C04089 #C0B740 #40C077
square
#4049C0 #C04089 #C0B740 #40C077
split-complementary
#4049C0 #C07740 #89C040
monochromatic
#212664 #303792 #4049C0 #6E75CF #9CA1DE

Accessibility & contrast

On white

7.16
#4049C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4049C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4049C0
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049C0#FFFFFF#000000##FFFFFF
##4049C01.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4049c0;
/* rgb */ color: rgb(64, 73, 192);
/* oklch */ color: oklch(47.3% 0.184 273.7);
Tailwind
colors: {
  custom: {
    50: '#847cd4',
    500: '#4049c0',
    950: '#000000',
  },
}
SCSS
$custom: #4049c0;
$custom-light: #847cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4049c0",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 192
  },
  "hsl": {
    "h": 235.781,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47277,
    "c": 0.18359,
    "h": 273.7
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#4049C0
secondary
#CBC691
accent
#D04EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4049C0

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

Preview Lab → · Contrast checker → · Palette generator →

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