#4044C5#4044C5

#4044C5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.9% C 0.196 H 274.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#4044C5
RGBrgb(64, 68, 197)
HSLhsl(238, 53%, 51%)
HSVhsv(238, 68%, 77%)
CMYKcmyk(67.5%, 65.5%, 0%, 22.7%)
CIE-LABlab(36.47, 39.50, -67.70)
CIE-LCHlch(36.47, 78.38, 300.26°)
OKLaboklab(46.85% 0.0153 -0.1954)
OKLCHoklch(46.85% 0.196 274.5)
XYZxyz(14.2562, 9.2542, 53.8474)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044C5 #C5C140
analogous
#4086C5 #4044C5 #7E40C5
triadic
#4044C5 #C54044 #44C540
tetradic
#4044C5 #C54086 #C5C140 #40C57E
square
#4044C5 #C54086 #C5C140 #40C57E
split-complementary
#4044C5 #C57E40 #86C540
monochromatic
#20236A #2F3299 #4044C5 #6F72D3 #9EA0E2

Accessibility & contrast

On white

7.37
#4044C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4044C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044C5
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044C5#FFFFFF#000000##FFFFFF
##4044C51.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4044c5;
/* rgb */ color: rgb(64, 68, 197);
/* oklch */ color: oklch(46.9% 0.196 274.5);
Tailwind
colors: {
  custom: {
    50: '#8578d8',
    500: '#4044c5',
    950: '#000000',
  },
}
SCSS
$custom: #4044c5;
$custom-light: #8578d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4044c5",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 197
  },
  "hsl": {
    "h": 238.195,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.19602,
    "h": 274.5
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#4044C5
secondary
#CECC93
accent
#D84BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #4044C5

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

Preview Lab → · Contrast checker → · Palette generator →

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