#4049CF#4049CF

#4049CF is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.6% C 0.203 H 273.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4049CF
RGBrgb(64, 73, 207)
HSLhsl(236, 60%, 53%)
HSVhsv(236, 69%, 81%)
CMYKcmyk(69.1%, 64.7%, 0%, 18.8%)
CIE-LABlab(38.48, 39.84, -70.21)
CIE-LCHlch(38.48, 80.73, 299.57°)
OKLaboklab(48.58% 0.011 -0.2028)
OKLCHoklch(48.58% 0.203 273.1)
XYZxyz(15.7556, 10.3586, 60.1885)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049CF #CFC640
analogous
#4090CF #4049CF #7E40CF
triadic
#4049CF #CF4049 #49CF40
tetradic
#4049CF #CF4090 #CFC640 #40CF7E
square
#4049CF #CF4090 #CFC640 #40CF7E
split-complementary
#4049CF #CF7E40 #90CF40
monochromatic
#1E2377 #2A32A8 #4049CF #7178DB #A2A6E8

Accessibility & contrast

On white

6.84
#4049CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4049CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049CF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049CF#FFFFFF#000000##FFFFFF
##4049CF1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4049cf;
/* rgb */ color: rgb(64, 73, 207);
/* oklch */ color: oklch(48.6% 0.203 273.1);
Tailwind
colors: {
  custom: {
    50: '#877cdf',
    500: '#4049cf',
    950: '#000000',
  },
}
SCSS
$custom: #4049cf;
$custom-light: #877cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4049cf",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 236.224,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48584,
    "c": 0.20307,
    "h": 273.1
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#4049CF
secondary
#D4D097
accent
#D945E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4049CF

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

Preview Lab → · Contrast checker → · Palette generator →

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