#4044CF#4044CF

#4044CF is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.8% C 0.209 H 273.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4044CF
RGBrgb(64, 68, 207)
HSLhsl(238, 60%, 53%)
HSVhsv(238, 69%, 81%)
CMYKcmyk(69.1%, 67.1%, 0%, 18.8%)
CIE-LABlab(37.35, 42.86, -72.06)
CIE-LCHlch(37.35, 83.85, 300.75°)
OKLaboklab(47.76% 0.0143 -0.2082)
OKLCHoklch(47.76% 0.209 273.9)
XYZxyz(15.4402, 9.7278, 60.0833)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044CF #CFCB40
analogous
#408BCF #4044CF #8440CF
triadic
#4044CF #CF4044 #44CF40
tetradic
#4044CF #CF408B #CFCB40 #40CF84
square
#4044CF #CF408B #CFCB40 #40CF84
split-complementary
#4044CF #CF8440 #8BCF40
monochromatic
#1E2077 #2A2EA8 #4044CF #7174DB #A2A4E8

Accessibility & contrast

On white

7.13
#4044CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4044CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044CF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044CF#FFFFFF#000000##FFFFFF
##4044CF1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4044cf;
/* rgb */ color: rgb(64, 68, 207);
/* oklch */ color: oklch(47.8% 0.209 273.9);
Tailwind
colors: {
  custom: {
    50: '#8878df',
    500: '#4044cf',
    950: '#000000',
  },
}
SCSS
$custom: #4044cf;
$custom-light: #8878df;
$custom-dark: #000000;
JSON
{
  "hex": "#4044cf",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 207
  },
  "hsl": {
    "h": 238.322,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47762,
    "c": 0.2087,
    "h": 273.9
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#4044CF
secondary
#D4D397
accent
#DF45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4044CF

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

Preview Lab → · Contrast checker → · Palette generator →

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