#4044BF#4044BF

#4044BF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.188 H 274.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4044BF
RGBrgb(64, 68, 191)
HSLhsl(238, 50%, 50%)
HSVhsv(238, 66%, 75%)
CMYKcmyk(66.5%, 64.4%, 0%, 25.1%)
CIE-LABlab(35.95, 37.46, -65.03)
CIE-LCHlch(35.95, 75.05, 299.95°)
OKLaboklab(46.32% 0.0158 -0.1876)
OKLCHoklch(46.32% 0.188 274.8)
XYZxyz(13.5823, 8.9846, 50.2985)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044BF #BFBB40
analogous
#4084BF #4044BF #7B40BF
triadic
#4044BF #BF4044 #44BF40
tetradic
#4044BF #BF4084 #BFBB40 #40BF7B
square
#4044BF #BF4084 #BFBB40 #40BF7B
split-complementary
#4044BF #BF7B40 #84BF40
monochromatic
#212363 #313491 #4044BF #6E71CE #9C9EDE

Accessibility & contrast

On white

7.51
#4044BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4044BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044BF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044BF#FFFFFF#000000##FFFFFF
##4044BF1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4044bf;
/* rgb */ color: rgb(64, 68, 191);
/* oklch */ color: oklch(46.3% 0.188 274.8);
Tailwind
colors: {
  custom: {
    50: '#8478d3',
    500: '#4044bf',
    950: '#000000',
  },
}
SCSS
$custom: #4044bf;
$custom-light: #8478d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4044bf",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 191
  },
  "hsl": {
    "h": 238.11,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.4632,
    "c": 0.18827,
    "h": 274.8
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#4044BF
secondary
#CAC891
accent
#D54ED9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4044BF

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

Preview Lab → · Contrast checker → · Palette generator →

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