#4049DB#4049DB

#4049DB is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.7% C 0.218 H 272.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4049DB
RGBrgb(64, 73, 219)
HSLhsl(237, 68%, 55%)
HSVhsv(237, 71%, 86%)
CMYKcmyk(70.8%, 66.7%, 0%, 14.1%)
CIE-LABlab(39.53, 43.91, -75.40)
CIE-LCHlch(39.53, 87.25, 300.21°)
OKLaboklab(49.67% 0.0099 -0.2179)
OKLCHoklch(49.67% 0.218 272.6)
XYZxyz(17.2788, 10.9678, 68.2105)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049DB #DBD240
analogous
#4096DB #4049DB #8440DB
triadic
#4049DB #DB4049 #49DB40
tetradic
#4049DB #DB4096 #DBD240 #40DB84
square
#4049DB #DB4096 #DBD240 #40DB84
split-complementary
#4049DB #DB8440 #96DB40
monochromatic
#192087 #232CBB #4049DB #737AE5 #A7ABEE

Accessibility & contrast

On white

6.57
#4049DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4049DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049DB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049DB#FFFFFF#000000##FFFFFF
##4049DB1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0056D8
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4049db;
/* rgb */ color: rgb(64, 73, 219);
/* oklch */ color: oklch(49.7% 0.218 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a7ce7',
    500: '#4049db',
    950: '#000000',
  },
}
SCSS
$custom: #4049db;
$custom-light: #8a7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4049db",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 236.516,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49667,
    "c": 0.21817,
    "h": 272.6
  },
  "luminance": 0.1097
}

Semantic roles & 50–950 ramp

primary
#4049DB
secondary
#DCD89B
accent
#E13DEB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4049DB

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

Preview Lab → · Contrast checker → · Palette generator →

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