#4044D5#4044D5

#4044D5 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.3% C 0.216 H 273.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4044D5
RGBrgb(64, 68, 213)
HSLhsl(238, 64%, 54%)
HSVhsv(238, 70%, 84%)
CMYKcmyk(70%, 68.1%, 0%, 16.5%)
CIE-LABlab(37.89, 44.87, -74.64)
CIE-LCHlch(37.89, 87.08, 301.01°)
OKLaboklab(48.32% 0.0136 -0.2157)
OKLCHoklch(48.32% 0.216 273.6)
XYZxyz(16.1877, 10.0268, 64.0201)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044D5 #D5D140
analogous
#408FD5 #4044D5 #8740D5
triadic
#4044D5 #D54044 #44D540
tetradic
#4044D5 #D5408F #D5D140 #40D587
square
#4044D5 #D5408F #D5D140 #40D587
split-complementary
#4044D5 #D58740 #8FD540
monochromatic
#1C1F7F #272BB1 #4044D5 #7275E0 #A4A6EB

Accessibility & contrast

On white

6.99
#4044D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4044D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4044D5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044D5#FFFFFF#000000##FFFFFF
##4044D51.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0052D2
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4044d5;
/* rgb */ color: rgb(64, 68, 213);
/* oklch */ color: oklch(48.3% 0.216 273.6);
Tailwind
colors: {
  custom: {
    50: '#8979e3',
    500: '#4044d5',
    950: '#000000',
  },
}
SCSS
$custom: #4044d5;
$custom-light: #8979e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4044d5",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 213
  },
  "hsl": {
    "h": 238.389,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.21616,
    "h": 273.6
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#4044D5
secondary
#D8D699
accent
#E241E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4044D5

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

Preview Lab → · Contrast checker → · Palette generator →

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