#4041CE#4041CE

#4041CE is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.2% C 0.211 H 274.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4041CE
RGBrgb(64, 65, 206)
HSLhsl(240, 59%, 53%)
HSVhsv(240, 69%, 81%)
CMYKcmyk(68.9%, 68.4%, 0%, 19.2%)
CIE-LABlab(36.60, 44.31, -72.71)
CIE-LCHlch(36.60, 85.15, 301.36°)
OKLaboklab(47.2% 0.0164 -0.2101)
OKLCHoklch(47.2% 0.211 274.4)
XYZxyz(15.1415, 9.3254, 59.3826)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4041CE #CECD40
analogous
#4088CE #4041CE #8640CE
triadic
#4041CE #CE4041 #41CE40
tetradic
#4041CE #CE4088 #CECD40 #40CE86
square
#4041CE #CE4088 #CECD40 #40CE86
split-complementary
#4041CE #CE8640 #88CE40
monochromatic
#1E1F75 #2B2CA6 #4041CE #7171DA #A1A2E7

Accessibility & contrast

On white

7.33
#4041CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4041CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4041CE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4041CE#FFFFFF#000000##FFFFFF
##4041CE1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#004FCB
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4041ce;
/* rgb */ color: rgb(64, 65, 206);
/* oklch */ color: oklch(47.2% 0.211 274.4);
Tailwind
colors: {
  custom: {
    50: '#8876de',
    500: '#4041ce',
    950: '#000000',
  },
}
SCSS
$custom: #4041ce;
$custom-light: #8876de;
$custom-dark: #000000;
JSON
{
  "hex": "#4041ce",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 239.577,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47196,
    "c": 0.21074,
    "h": 274.4
  },
  "luminance": 0.09327
}

Semantic roles & 50–950 ramp

primary
#4041CE
secondary
#D4D396
accent
#E145E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4041CE

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

Preview Lab → · Contrast checker → · Palette generator →

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