#4049C9#4049C9

#4049C9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.195 H 273.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4049C9
RGBrgb(64, 73, 201)
HSLhsl(236, 56%, 52%)
HSVhsv(236, 68%, 79%)
CMYKcmyk(68.2%, 63.7%, 0%, 21.2%)
CIE-LABlab(37.97, 37.79, -67.57)
CIE-LCHlch(37.97, 77.42, 299.22°)
OKLaboklab(48.05% 0.0114 -0.195)
OKLCHoklch(48.05% 0.195 273.3)
XYZxyz(15.0360, 10.0707, 56.3985)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049C9 #C9C040
analogous
#408EC9 #4049C9 #7B40C9
triadic
#4049C9 #C94049 #49C940
tetradic
#4049C9 #C9408E #C9C040 #40C97B
square
#4049C9 #C9408E #C9C040 #40C97B
split-complementary
#4049C9 #C97B40 #8EC940
monochromatic
#1F256F #2D349F #4049C9 #7076D6 #9FA4E4

Accessibility & contrast

On white

6.97
#4049C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4049C9
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049C9#FFFFFF#000000##FFFFFF
##4049C91.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4049c9;
/* rgb */ color: rgb(64, 73, 201);
/* oklch */ color: oklch(48.1% 0.195 273.3);
Tailwind
colors: {
  custom: {
    50: '#867cda',
    500: '#4049c9',
    950: '#000000',
  },
}
SCSS
$custom: #4049c9;
$custom-light: #867cda;
$custom-dark: #000000;
JSON
{
  "hex": "#4049c9",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 201
  },
  "hsl": {
    "h": 236.058,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48054,
    "c": 0.19536,
    "h": 273.3
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4049C9

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

Preview Lab → · Contrast checker → · Palette generator →

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