#4044B9#4044B9

#4044B9 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.180 H 275.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4044B9
RGBrgb(64, 68, 185)
HSLhsl(238, 49%, 49%)
HSVhsv(238, 65%, 73%)
CMYKcmyk(65.4%, 63.2%, 0%, 27.5%)
CIE-LABlab(35.45, 35.42, -62.33)
CIE-LCHlch(35.45, 71.69, 299.61°)
OKLaboklab(45.8% 0.0162 -0.1797)
OKLCHoklch(45.8% 0.18 275.2)
XYZxyz(12.9355, 8.7259, 46.8921)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044B9 #B9B540
analogous
#4081B9 #4044B9 #7940B9
triadic
#4044B9 #B94044 #44B940
tetradic
#4044B9 #B94081 #B9B540 #40B979
square
#4044B9 #B94081 #B9B540 #40B979
split-complementary
#4044B9 #B97940 #81B940
monochromatic
#21235E #30338C #4044B9 #6B6ECC #989ADB

Accessibility & contrast

On white

7.65
#4044B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4044B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044B9
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044B9#FFFFFF#000000##FFFFFF
##4044B91.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4044b9;
/* rgb */ color: rgb(64, 68, 185);
/* oklch */ color: oklch(45.8% 0.180 275.2);
Tailwind
colors: {
  custom: {
    50: '#8378cf',
    500: '#4044b9',
    950: '#000000',
  },
}
SCSS
$custom: #4044b9;
$custom-light: #8378cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4044b9",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 185
  },
  "hsl": {
    "h": 238.017,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45795,
    "c": 0.18041,
    "h": 275.2
  },
  "luminance": 0.08727
}

Semantic roles & 50–950 ramp

primary
#4044B9
secondary
#C7C58E
accent
#D450D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4044B9

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

Preview Lab → · Contrast checker → · Palette generator →

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