#4041A9#4041A9

#4041A9 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.163 H 276.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4041A9
RGBrgb(64, 65, 169)
HSLhsl(239, 45%, 46%)
HSVhsv(239, 62%, 66%)
CMYKcmyk(62.1%, 61.5%, 0%, 33.7%)
CIE-LABlab(33.42, 31.83, -56.13)
CIE-LCHlch(33.42, 64.53, 299.56°)
OKLaboklab(43.9% 0.0196 -0.1615)
OKLCHoklch(43.9% 0.163 276.9)
XYZxyz(11.1638, 7.7343, 38.4330)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4041A9 #A9A840
analogous
#4075A9 #4041A9 #7440A9
triadic
#4041A9 #A94041 #41A940
tetradic
#4041A9 #A94075 #A9A840 #40A974
square
#4041A9 #A94075 #A9A840 #40A974
split-complementary
#4041A9 #A97440 #75A940
monochromatic
#1E1F50 #2F307D #4041A9 #6263C4 #8F90D5

Accessibility & contrast

On white

8.24
#4041A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4041A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4041A9
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4041A9#FFFFFF#000000##FFFFFF
##4041A91.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4041a9;
/* rgb */ color: rgb(64, 65, 169);
/* oklch */ color: oklch(43.9% 0.163 276.9);
Tailwind
colors: {
  custom: {
    50: '#8076c3',
    500: '#4041a9',
    950: '#000000',
  },
}
SCSS
$custom: #4041a9;
$custom-light: #8076c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4041a9",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 239.429,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.439,
    "c": 0.1627,
    "h": 276.9
  },
  "luminance": 0.07735
}

Semantic roles & 50–950 ramp

primary
#4041A9
secondary
#C0BF85
accent
#D453D5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #4041A9

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

Preview Lab → · Contrast checker → · Palette generator →

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