#4044C2#4044C2

#4044C2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.192 H 274.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#4044C2
RGBrgb(64, 68, 194)
HSLhsl(238, 52%, 51%)
HSVhsv(238, 67%, 76%)
CMYKcmyk(67%, 64.9%, 0%, 23.9%)
CIE-LABlab(36.21, 38.48, -66.37)
CIE-LCHlch(36.21, 76.72, 300.11°)
OKLaboklab(46.59% 0.0156 -0.1915)
OKLCHoklch(46.59% 0.192 274.6)
XYZxyz(13.9159, 9.1180, 52.0551)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044C2 #C2BE40
analogous
#4085C2 #4044C2 #7D40C2
triadic
#4044C2 #C24044 #44C240
tetradic
#4044C2 #C24085 #C2BE40 #40C27D
square
#4044C2 #C24085 #C2BE40 #40C27D
split-complementary
#4044C2 #C27D40 #85C240
monochromatic
#212367 #303395 #4044C2 #6E71D1 #9D9FE0

Accessibility & contrast

On white

7.44
#4044C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4044C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044C2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044C2#FFFFFF#000000##FFFFFF
##4044C21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4044c2;
/* rgb */ color: rgb(64, 68, 194);
/* oklch */ color: oklch(46.6% 0.192 274.6);
Tailwind
colors: {
  custom: {
    50: '#8578d5',
    500: '#4044c2',
    950: '#000000',
  },
}
SCSS
$custom: #4044c2;
$custom-light: #8578d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4044c2",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 194
  },
  "hsl": {
    "h": 238.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.19216,
    "h": 274.6
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#4044C2
secondary
#CCCA92
accent
#D74DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4044C2

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

Preview Lab → · Contrast checker → · Palette generator →

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