#4044C0#4044C0

#4044C0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.4% C 0.190 H 274.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#4044C0
RGBrgb(64, 68, 192)
HSLhsl(238, 50%, 50%)
HSVhsv(238, 67%, 75%)
CMYKcmyk(66.7%, 64.6%, 0%, 24.7%)
CIE-LABlab(36.04, 37.80, -65.48)
CIE-LCHlch(36.04, 75.61, 300.00°)
OKLaboklab(46.41% 0.0157 -0.1889)
OKLCHoklch(46.41% 0.19 274.8)
XYZxyz(13.6928, 9.0288, 50.8801)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044C0 #C0BC40
analogous
#4084C0 #4044C0 #7C40C0
triadic
#4044C0 #C04044 #44C040
tetradic
#4044C0 #C04084 #C0BC40 #40C07C
square
#4044C0 #C04084 #C0BC40 #40C07C
split-complementary
#4044C0 #C07C40 #84C040
monochromatic
#212364 #303392 #4044C0 #6E71CF #9C9EDE

Accessibility & contrast

On white

7.48
#4044C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4044C0
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044C0#FFFFFF#000000##FFFFFF
##4044C01.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4044c0;
/* rgb */ color: rgb(64, 68, 192);
/* oklch */ color: oklch(46.4% 0.190 274.8);
Tailwind
colors: {
  custom: {
    50: '#8478d4',
    500: '#4044c0',
    950: '#000000',
  },
}
SCSS
$custom: #4044c0;
$custom-light: #8478d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4044c0",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 192
  },
  "hsl": {
    "h": 238.125,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46408,
    "c": 0.18957,
    "h": 274.8
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#4044C0
secondary
#CBC991
accent
#D64EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4044C0

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

Preview Lab → · Contrast checker → · Palette generator →

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