#4044B7#4044B7

#4044B7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.6% C 0.178 H 275.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4044B7
RGBrgb(64, 68, 183)
HSLhsl(238, 48%, 48%)
HSVhsv(238, 65%, 72%)
CMYKcmyk(65%, 62.8%, 0%, 28.2%)
CIE-LABlab(35.29, 34.73, -61.42)
CIE-LCHlch(35.29, 70.56, 299.49°)
OKLaboklab(45.62% 0.0163 -0.177)
OKLCHoklch(45.62% 0.178 275.3)
XYZxyz(12.7259, 8.6420, 45.7880)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044B7 #B7B340
analogous
#407FB7 #4044B7 #7740B7
triadic
#4044B7 #B74044 #44B740
tetradic
#4044B7 #B7407F #B7B340 #40B777
square
#4044B7 #B7407F #B7B340 #40B777
split-complementary
#4044B7 #B77740 #7FB740
monochromatic
#20225C #30338A #4044B7 #696DCB #9799DB

Accessibility & contrast

On white

7.70
#4044B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4044B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044B7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044B7#FFFFFF#000000##FFFFFF
##4044B71.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4044b7;
/* rgb */ color: rgb(64, 68, 183);
/* oklch */ color: oklch(45.6% 0.178 275.3);
Tailwind
colors: {
  custom: {
    50: '#8378ce',
    500: '#4044b7',
    950: '#000000',
  },
}
SCSS
$custom: #4044b7;
$custom-light: #8378ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4044b7",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 183
  },
  "hsl": {
    "h": 237.983,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45623,
    "c": 0.17776,
    "h": 275.3
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#4044B7
secondary
#C6C48D
accent
#D350D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4044B7

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

Preview Lab → · Contrast checker → · Palette generator →

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