#4049BC#4049BC

#4049BC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.178 H 273.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4049BC
RGBrgb(64, 73, 188)
HSLhsl(236, 49%, 49%)
HSVhsv(236, 66%, 74%)
CMYKcmyk(66%, 61.2%, 0%, 26.3%)
CIE-LABlab(36.90, 33.31, -61.72)
CIE-LCHlch(36.90, 70.14, 298.35°)
OKLaboklab(46.94% 0.012 -0.1779)
OKLCHoklch(46.94% 0.178 273.9)
XYZxyz(13.5710, 9.4847, 48.6828)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049BC #BCB340
analogous
#4087BC #4049BC #7540BC
triadic
#4049BC #BC4049 #49BC40
tetradic
#4049BC #BC4087 #BCB340 #40BC75
square
#4049BC #BC4087 #BCB340 #40BC75
split-complementary
#4049BC #BC7540 #87BC40
monochromatic
#212661 #30378E #4049BC #6C73CD #9A9FDD

Accessibility & contrast

On white

7.25
#4049BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4049BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4049BC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049BC#FFFFFF#000000##FFFFFF
##4049BC1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4049bc;
/* rgb */ color: rgb(64, 73, 188);
/* oklch */ color: oklch(46.9% 0.178 273.9);
Tailwind
colors: {
  custom: {
    50: '#837cd1',
    500: '#4049bc',
    950: '#000000',
  },
}
SCSS
$custom: #4049bc;
$custom-light: #837cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4049bc",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 188
  },
  "hsl": {
    "h": 235.645,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46938,
    "c": 0.17828,
    "h": 273.9
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

primary
#4049BC
secondary
#C9C48F
accent
#CF4FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4049BC

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

Preview Lab → · Contrast checker → · Palette generator →

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