#4049AF#4049AF

#4049AF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.161 H 274.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4049AF
RGBrgb(64, 73, 175)
HSLhsl(235, 46%, 47%)
HSVhsv(235, 63%, 69%)
CMYKcmyk(63.4%, 58.3%, 0%, 31.4%)
CIE-LABlab(35.89, 28.79, -55.70)
CIE-LCHlch(35.89, 62.70, 297.33°)
OKLaboklab(45.87% 0.0122 -0.1602)
OKLCHoklch(45.87% 0.161 274.3)
XYZxyz(12.2322, 8.9492, 41.6319)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049AF #AFA640
analogous
#4081AF #4049AF #6F40AF
triadic
#4049AF #AF4049 #49AF40
tetradic
#4049AF #AF4081 #AFA640 #40AF6F
square
#4049AF #AF4081 #AFA640 #40AF6F
split-complementary
#4049AF #AF6F40 #81AF40
monochromatic
#1F2455 #303682 #4049AF #656DC7 #9298D7

Accessibility & contrast

On white

7.53
#4049AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4049AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4049AF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049AF#FFFFFF#000000##FFFFFF
##4049AF1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4049af;
/* rgb */ color: rgb(64, 73, 175);
/* oklch */ color: oklch(45.9% 0.161 274.3);
Tailwind
colors: {
  custom: {
    50: '#817bc8',
    500: '#4049af',
    950: '#000000',
  },
}
SCSS
$custom: #4049af;
$custom-light: #817bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4049af",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 235.135,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45868,
    "c": 0.16064,
    "h": 274.3
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

primary
#4049AF
secondary
#C3BE88
accent
#CB52D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4049AF

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

Preview Lab → · Contrast checker → · Palette generator →

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