#4049C2#4049C2

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

Color values

HEX#4049C2
RGBrgb(64, 73, 194)
HSLhsl(236, 52%, 51%)
HSVhsv(236, 67%, 76%)
CMYKcmyk(67%, 62.4%, 0%, 23.9%)
CIE-LABlab(37.39, 35.38, -64.44)
CIE-LCHlch(37.39, 73.52, 298.77°)
OKLaboklab(47.45% 0.0118 -0.1859)
OKLCHoklch(47.45% 0.186 273.6)
XYZxyz(14.2313, 9.7488, 52.1602)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049C2 #C2B940
analogous
#408AC2 #4049C2 #7840C2
triadic
#4049C2 #C24049 #49C240
tetradic
#4049C2 #C2408A #C2B940 #40C278
square
#4049C2 #C2408A #C2B940 #40C278
split-complementary
#4049C2 #C27840 #8AC240
monochromatic
#212667 #303795 #4049C2 #6E75D1 #9DA1E0

Accessibility & contrast

On white

7.12
#4049C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4049C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4049C2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049C2#FFFFFF#000000##FFFFFF
##4049C21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.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: #4049c2;
/* rgb */ color: rgb(64, 73, 194);
/* oklch */ color: oklch(47.4% 0.186 273.6);
Tailwind
colors: {
  custom: {
    50: '#847cd5',
    500: '#4049c2',
    950: '#000000',
  },
}
SCSS
$custom: #4049c2;
$custom-light: #847cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4049c2",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 235.846,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47447,
    "c": 0.18623,
    "h": 273.6
  },
  "luminance": 0.0975
}

Semantic roles & 50–950 ramp

primary
#4049C2
secondary
#CCC892
accent
#D14DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4049C2

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

Preview Lab → · Contrast checker → · Palette generator →

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