#4049C8#4049C8

#4049C8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.0% C 0.194 H 273.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4049C8
RGBrgb(64, 73, 200)
HSLhsl(236, 55%, 52%)
HSVhsv(236, 68%, 78%)
CMYKcmyk(68%, 63.5%, 0%, 21.6%)
CIE-LABlab(37.89, 37.45, -67.13)
CIE-LCHlch(37.89, 76.87, 299.16°)
OKLaboklab(47.97% 0.0114 -0.1937)
OKLCHoklch(47.97% 0.194 273.4)
XYZxyz(14.9187, 10.0238, 55.7810)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049C8 #C8BF40
analogous
#408DC8 #4049C8 #7B40C8
triadic
#4049C8 #C84049 #49C840
tetradic
#4049C8 #C8408D #C8BF40 #40C87B
square
#4049C8 #C8408D #C8BF40 #40C87B
split-complementary
#4049C8 #C87B40 #8DC840
monochromatic
#20256E #2D359D #4049C8 #7076D6 #9FA4E3

Accessibility & contrast

On white

6.99
#4049C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4049C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049C8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049C8#FFFFFF#000000##FFFFFF
##4049C81.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4049c8;
/* rgb */ color: rgb(64, 73, 200);
/* oklch */ color: oklch(48.0% 0.194 273.4);
Tailwind
colors: {
  custom: {
    50: '#867cda',
    500: '#4049c8',
    950: '#000000',
  },
}
SCSS
$custom: #4049c8;
$custom-light: #867cda;
$custom-dark: #000000;
JSON
{
  "hex": "#4049c8",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 236.029,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47967,
    "c": 0.19407,
    "h": 273.4
  },
  "luminance": 0.10025
}

Semantic roles & 50–950 ramp

primary
#4049C8
secondary
#D0CC94
accent
#D549DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4049C8

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

Preview Lab → · Contrast checker → · Palette generator →

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