#4049CC#4049CC

#4049CC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.3% C 0.199 H 273.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4049CC
RGBrgb(64, 73, 204)
HSLhsl(236, 58%, 53%)
HSVhsv(236, 69%, 80%)
CMYKcmyk(68.6%, 64.2%, 0%, 20%)
CIE-LABlab(38.22, 38.82, -68.89)
CIE-LCHlch(38.22, 79.08, 299.40°)
OKLaboklab(48.32% 0.0112 -0.1989)
OKLCHoklch(48.32% 0.199 273.2)
XYZxyz(15.3923, 10.2133, 58.2752)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049CC #CCC340
analogous
#408FCC #4049CC #7D40CC
triadic
#4049CC #CC4049 #49CC40
tetradic
#4049CC #CC408F #CCC340 #40CC7D
square
#4049CC #CC408F #CCC340 #40CC7D
split-complementary
#4049CC #CC7D40 #8FCC40
monochromatic
#1F2473 #2C33A3 #4049CC #7077D9 #A1A5E6

Accessibility & contrast

On white

6.90
#4049CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4049CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049CC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049CC#FFFFFF#000000##FFFFFF
##4049CC1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4049cc;
/* rgb */ color: rgb(64, 73, 204);
/* oklch */ color: oklch(48.3% 0.199 273.2);
Tailwind
colors: {
  custom: {
    50: '#877cdd',
    500: '#4049cc',
    950: '#000000',
  },
}
SCSS
$custom: #4049cc;
$custom-light: #877cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4049cc",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 236.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48318,
    "c": 0.19922,
    "h": 273.2
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#4049CC
secondary
#D2CE95
accent
#D747E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4049CC

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

Preview Lab → · Contrast checker → · Palette generator →

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