#4049CD#4049CD

#4049CD is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.4% C 0.201 H 273.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4049CD
RGBrgb(64, 73, 205)
HSLhsl(236, 59%, 53%)
HSVhsv(236, 69%, 80%)
CMYKcmyk(68.8%, 64.4%, 0%, 19.6%)
CIE-LABlab(38.31, 39.16, -69.33)
CIE-LCHlch(38.31, 79.63, 299.46°)
OKLaboklab(48.41% 0.0111 -0.2002)
OKLCHoklch(48.41% 0.201 273.2)
XYZxyz(15.5127, 10.2614, 58.9089)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049CD #CDC440
analogous
#4090CD #4049CD #7D40CD
triadic
#4049CD #CD4049 #49CD40
tetradic
#4049CD #CD4090 #CDC440 #40CD7D
square
#4049CD #CD4090 #CDC440 #40CD7D
split-complementary
#4049CD #CD7D40 #90CD40
monochromatic
#1E2474 #2B33A5 #4049CD #7177DA #A1A5E6

Accessibility & contrast

On white

6.88
#4049CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4049CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049CD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049CD#FFFFFF#000000##FFFFFF
##4049CD1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4049cd;
/* rgb */ color: rgb(64, 73, 205);
/* oklch */ color: oklch(48.4% 0.201 273.2);
Tailwind
colors: {
  custom: {
    50: '#877cdd',
    500: '#4049cd',
    950: '#000000',
  },
}
SCSS
$custom: #4049cd;
$custom-light: #877cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4049cd",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 236.17,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48406,
    "c": 0.20051,
    "h": 273.2
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#4049CD
secondary
#D3CF96
accent
#D846E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4049CD

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

Preview Lab → · Contrast checker → · Palette generator →

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