#4041CA#4041CA

#4041CA is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.8% C 0.206 H 274.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#4041CA
RGBrgb(64, 65, 202)
HSLhsl(240, 57%, 52%)
HSVhsv(240, 68%, 79%)
CMYKcmyk(68.3%, 67.8%, 0%, 20.8%)
CIE-LABlab(36.24, 42.98, -70.98)
CIE-LCHlch(36.24, 82.98, 301.20°)
OKLaboklab(46.82% 0.0169 -0.2051)
OKLCHoklch(46.82% 0.206 274.7)
XYZxyz(14.6618, 9.1335, 56.8559)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4041CA #CAC940
analogous
#4086CA #4041CA #8440CA
triadic
#4041CA #CA4041 #41CA40
tetradic
#4041CA #CA4086 #CAC940 #40CA84
square
#4041CA #CA4086 #CAC940 #40CA84
split-complementary
#4041CA #CA8440 #86CA40
monochromatic
#1F2070 #2C2DA0 #4041CA #7071D7 #A0A0E5

Accessibility & contrast

On white

7.43
#4041CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4041CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4041CA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4041CA#FFFFFF#000000##FFFFFF
##4041CA1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4041ca;
/* rgb */ color: rgb(64, 65, 202);
/* oklch */ color: oklch(46.8% 0.206 274.7);
Tailwind
colors: {
  custom: {
    50: '#8776db',
    500: '#4041ca',
    950: '#000000',
  },
}
SCSS
$custom: #4041ca;
$custom-light: #8776db;
$custom-dark: #000000;
JSON
{
  "hex": "#4041ca",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 239.565,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.46823,
    "c": 0.20575,
    "h": 274.7
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#4041CA
secondary
#D1D195
accent
#DF48E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4041CA

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

Preview Lab → · Contrast checker → · Palette generator →

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