#4044D2#4044D2

#4044D2 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.0% C 0.212 H 273.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4044D2
RGBrgb(64, 68, 210)
HSLhsl(238, 62%, 54%)
HSVhsv(238, 70%, 82%)
CMYKcmyk(69.5%, 67.6%, 0%, 17.6%)
CIE-LABlab(37.62, 43.87, -73.35)
CIE-LCHlch(37.62, 85.47, 300.88°)
OKLaboklab(48.04% 0.014 -0.212)
OKLCHoklch(48.04% 0.212 273.8)
XYZxyz(15.8105, 9.8759, 62.0333)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044D2 #D2CE40
analogous
#408DD2 #4044D2 #8540D2
triadic
#4044D2 #D24044 #44D240
tetradic
#4044D2 #D2408D #D2CE40 #40D285
square
#4044D2 #D2408D #D2CE40 #40D285
split-complementary
#4044D2 #D28540 #8DD240
monochromatic
#1D1F7B #292CAC #4044D2 #7274DE #A3A5E9

Accessibility & contrast

On white

7.06
#4044D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4044D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044D2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044D2#FFFFFF#000000##FFFFFF
##4044D21.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4044d2;
/* rgb */ color: rgb(64, 68, 210);
/* oklch */ color: oklch(48.0% 0.212 273.8);
Tailwind
colors: {
  custom: {
    50: '#8879e1',
    500: '#4044d2',
    950: '#000000',
  },
}
SCSS
$custom: #4044d2;
$custom-light: #8879e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4044d2",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 238.356,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4804,
    "c": 0.21244,
    "h": 273.8
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#4044D2
secondary
#D6D498
accent
#E143E5
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4044D2

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

Preview Lab → · Contrast checker → · Palette generator →

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