#4047CE#4047CE

#4047CE is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.2% C 0.204 H 273.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4047CE
RGBrgb(64, 71, 206)
HSLhsl(237, 59%, 53%)
HSVhsv(237, 69%, 81%)
CMYKcmyk(68.9%, 65.5%, 0%, 19.2%)
CIE-LABlab(37.93, 40.72, -70.53)
CIE-LCHlch(37.93, 81.44, 300.00°)
OKLaboklab(48.16% 0.0124 -0.2037)
OKLCHoklch(48.16% 0.204 273.5)
XYZxyz(15.5045, 10.0512, 59.5035)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4047CE #CEC740
analogous
#408ECE #4047CE #8040CE
triadic
#4047CE #CE4047 #47CE40
tetradic
#4047CE #CE408E #CEC740 #40CE80
square
#4047CE #CE408E #CEC740 #40CE80
split-complementary
#4047CE #CE8040 #8ECE40
monochromatic
#1E2275 #2B31A6 #4047CE #7176DA #A1A5E7

Accessibility & contrast

On white

6.98
#4047CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4047CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4047CE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4047CE#FFFFFF#000000##FFFFFF
##4047CE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4047ce;
/* rgb */ color: rgb(64, 71, 206);
/* oklch */ color: oklch(48.2% 0.204 273.5);
Tailwind
colors: {
  custom: {
    50: '#877ade',
    500: '#4047ce',
    950: '#000000',
  },
}
SCSS
$custom: #4047ce;
$custom-light: #877ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4047ce",
  "rgb": {
    "r": 64,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 237.042,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.4816,
    "c": 0.20408,
    "h": 273.5
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#4047CE
secondary
#D4D196
accent
#DB45E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4047CE

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

Preview Lab → · Contrast checker → · Palette generator →

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