#4044C8#4044C8

#4044C8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.1% C 0.200 H 274.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4044C8
RGBrgb(64, 68, 200)
HSLhsl(238, 55%, 52%)
HSVhsv(238, 68%, 78%)
CMYKcmyk(68%, 66%, 0%, 21.6%)
CIE-LABlab(36.73, 40.51, -69.02)
CIE-LCHlch(36.73, 80.03, 300.41°)
OKLaboklab(47.12% 0.015 -0.1993)
OKLCHoklch(47.12% 0.2 274.3)
XYZxyz(14.6033, 9.3930, 55.6758)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044C8 #C8C440
analogous
#4088C8 #4044C8 #8040C8
triadic
#4044C8 #C84044 #44C840
tetradic
#4044C8 #C84088 #C8C440 #40C880
square
#4044C8 #C84088 #C8C440 #40C880
split-complementary
#4044C8 #C88040 #88C840
monochromatic
#20226E #2D319D #4044C8 #7073D6 #9FA1E3

Accessibility & contrast

On white

7.29
#4044C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4044C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044C8
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044C8#FFFFFF#000000##FFFFFF
##4044C81.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4044c8;
/* rgb */ color: rgb(64, 68, 200);
/* oklch */ color: oklch(47.1% 0.200 274.3);
Tailwind
colors: {
  custom: {
    50: '#8678da',
    500: '#4044c8',
    950: '#000000',
  },
}
SCSS
$custom: #4044c8;
$custom-light: #8678da;
$custom-dark: #000000;
JSON
{
  "hex": "#4044c8",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 200
  },
  "hsl": {
    "h": 238.235,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47124,
    "c": 0.19986,
    "h": 274.3
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#4044C8
secondary
#D0CE94
accent
#DA49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4044C8

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

Preview Lab → · Contrast checker → · Palette generator →

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