#4044C1#4044C1

#4044C1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.5% C 0.191 H 274.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4044C1
RGBrgb(64, 68, 193)
HSLhsl(238, 51%, 50%)
HSVhsv(238, 67%, 76%)
CMYKcmyk(66.8%, 64.8%, 0%, 24.3%)
CIE-LABlab(36.13, 38.14, -65.92)
CIE-LCHlch(36.13, 76.16, 300.05°)
OKLaboklab(46.5% 0.0157 -0.1902)
OKLCHoklch(46.5% 0.191 274.7)
XYZxyz(13.8039, 9.0733, 51.4656)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044C1 #C1BD40
analogous
#4084C1 #4044C1 #7D40C1
triadic
#4044C1 #C14044 #44C140
tetradic
#4044C1 #C14084 #C1BD40 #40C17D
square
#4044C1 #C14084 #C1BD40 #40C17D
split-complementary
#4044C1 #C17D40 #84C140
monochromatic
#212366 #303394 #4044C1 #6E71D0 #9C9EDF

Accessibility & contrast

On white

7.46
#4044C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4044C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044C1
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044C1#FFFFFF#000000##FFFFFF
##4044C11.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4044c1;
/* rgb */ color: rgb(64, 68, 193);
/* oklch */ color: oklch(46.5% 0.191 274.7);
Tailwind
colors: {
  custom: {
    50: '#8578d5',
    500: '#4044c1',
    950: '#000000',
  },
}
SCSS
$custom: #4044c1;
$custom-light: #8578d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4044c1",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 193
  },
  "hsl": {
    "h": 238.14,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46497,
    "c": 0.19087,
    "h": 274.7
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#4044C1
secondary
#CBC992
accent
#D64DDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4044C1

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

Preview Lab → · Contrast checker → · Palette generator →

#4044C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva