#4044B2#4044B2

#4044B2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.2% C 0.171 H 275.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4044B2
RGBrgb(64, 68, 178)
HSLhsl(238, 47%, 47%)
HSVhsv(238, 64%, 70%)
CMYKcmyk(64%, 61.8%, 0%, 30.2%)
CIE-LABlab(34.88, 33.02, -59.12)
CIE-LCHlch(34.88, 67.72, 299.18°)
OKLaboklab(45.2% 0.0166 -0.1703)
OKLCHoklch(45.2% 0.171 275.6)
XYZxyz(12.2147, 8.4376, 43.0958)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044B2 #B2AE40
analogous
#407DB2 #4044B2 #7540B2
triadic
#4044B2 #B24044 #44B240
tetradic
#4044B2 #B2407D #B2AE40 #40B275
square
#4044B2 #B2407D #B2AE40 #40B275
split-complementary
#4044B2 #B27540 #7DB240
monochromatic
#202258 #303385 #4044B2 #676AC8 #9496D8

Accessibility & contrast

On white

7.81
#4044B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4044B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044B2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044B2#FFFFFF#000000##FFFFFF
##4044B21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4044b2;
/* rgb */ color: rgb(64, 68, 178);
/* oklch */ color: oklch(45.2% 0.171 275.6);
Tailwind
colors: {
  custom: {
    50: '#8278ca',
    500: '#4044b2',
    950: '#000000',
  },
}
SCSS
$custom: #4044b2;
$custom-light: #8278ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4044b2",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 237.895,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45196,
    "c": 0.17108,
    "h": 275.6
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#4044B2
secondary
#C4C28A
accent
#D251D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4044B2

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

Preview Lab → · Contrast checker → · Palette generator →

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