#4044CC#4044CC

#4044CC is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.5% C 0.205 H 274.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4044CC
RGBrgb(64, 68, 204)
HSLhsl(238, 58%, 53%)
HSVhsv(238, 69%, 80%)
CMYKcmyk(68.6%, 66.7%, 0%, 20%)
CIE-LABlab(37.08, 41.86, -70.76)
CIE-LCHlch(37.08, 82.22, 300.61°)
OKLaboklab(47.49% 0.0146 -0.2044)
OKLCHoklch(47.49% 0.205 274.1)
XYZxyz(15.0769, 9.5825, 58.1701)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044CC #CCC840
analogous
#408ACC #4044CC #8240CC
triadic
#4044CC #CC4044 #44CC40
tetradic
#4044CC #CC408A #CCC840 #40CC82
square
#4044CC #CC408A #CCC840 #40CC82
split-complementary
#4044CC #CC8240 #8ACC40
monochromatic
#1F2173 #2C2FA3 #4044CC #7073D9 #A1A3E6

Accessibility & contrast

On white

7.20
#4044CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4044CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044CC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044CC#FFFFFF#000000##FFFFFF
##4044CC1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4044cc;
/* rgb */ color: rgb(64, 68, 204);
/* oklch */ color: oklch(47.5% 0.205 274.1);
Tailwind
colors: {
  custom: {
    50: '#8778dd',
    500: '#4044cc',
    950: '#000000',
  },
}
SCSS
$custom: #4044cc;
$custom-light: #8778dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4044cc",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 204
  },
  "hsl": {
    "h": 238.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.20492,
    "h": 274.1
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#4044CC
secondary
#D2D195
accent
#DD47E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4044CC

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

Preview Lab → · Contrast checker → · Palette generator →

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