#4044C6#4044C6

#4044C6 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.9% C 0.197 H 274.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4044C6
RGBrgb(64, 68, 198)
HSLhsl(238, 54%, 51%)
HSVhsv(238, 68%, 78%)
CMYKcmyk(67.7%, 65.7%, 0%, 22.4%)
CIE-LABlab(36.56, 39.84, -68.14)
CIE-LCHlch(36.56, 78.93, 300.31°)
OKLaboklab(46.94% 0.0152 -0.1967)
OKLCHoklch(46.94% 0.197 274.4)
XYZxyz(14.3711, 9.3001, 54.4529)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044C6 #C6C240
analogous
#4087C6 #4044C6 #7F40C6
triadic
#4044C6 #C64044 #44C640
tetradic
#4044C6 #C64087 #C6C240 #40C67F
square
#4044C6 #C64087 #C6C240 #40C67F
split-complementary
#4044C6 #C67F40 #87C640
monochromatic
#20226C #2E319B #4044C6 #6F72D4 #9EA0E2

Accessibility & contrast

On white

7.34
#4044C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4044C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044C6
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044C6#FFFFFF#000000##FFFFFF
##4044C61.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4044c6;
/* rgb */ color: rgb(64, 68, 198);
/* oklch */ color: oklch(46.9% 0.197 274.4);
Tailwind
colors: {
  custom: {
    50: '#8678d8',
    500: '#4044c6',
    950: '#000000',
  },
}
SCSS
$custom: #4044c6;
$custom-light: #8678d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4044c6",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 198
  },
  "hsl": {
    "h": 238.209,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46943,
    "c": 0.19731,
    "h": 274.4
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#4044C6
secondary
#CECD93
accent
#D94ADD
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4044C6

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

Preview Lab → · Contrast checker → · Palette generator →

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