#4049CE#4049CE

#4049CE is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.5% C 0.202 H 273.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4049CE
RGBrgb(64, 73, 206)
HSLhsl(236, 59%, 53%)
HSVhsv(236, 69%, 81%)
CMYKcmyk(68.9%, 64.6%, 0%, 19.2%)
CIE-LABlab(38.39, 39.50, -69.77)
CIE-LCHlch(38.39, 80.18, 299.52°)
OKLaboklab(48.5% 0.011 -0.2015)
OKLCHoklch(48.5% 0.202 273.1)
XYZxyz(15.6337, 10.3098, 59.5466)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049CE #CEC540
analogous
#4090CE #4049CE #7E40CE
triadic
#4049CE #CE4049 #49CE40
tetradic
#4049CE #CE4090 #CEC540 #40CE7E
square
#4049CE #CE4090 #CEC540 #40CE7E
split-complementary
#4049CE #CE7E40 #90CE40
monochromatic
#1E2475 #2B32A6 #4049CE #7177DA #A1A6E7

Accessibility & contrast

On white

6.86
#4049CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4049CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049CE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049CE#FFFFFF#000000##FFFFFF
##4049CE1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4049ce;
/* rgb */ color: rgb(64, 73, 206);
/* oklch */ color: oklch(48.5% 0.202 273.1);
Tailwind
colors: {
  custom: {
    50: '#877cde',
    500: '#4049ce',
    950: '#000000',
  },
}
SCSS
$custom: #4049ce;
$custom-light: #877cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4049ce",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 236.197,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48495,
    "c": 0.20179,
    "h": 273.1
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#4049CE
secondary
#D4D096
accent
#D845E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4049CE

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

Preview Lab → · Contrast checker → · Palette generator →

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