#4049A2#4049A2

#4049A2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.142 H 274.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4049A2
RGBrgb(64, 73, 162)
HSLhsl(234, 43%, 44%)
HSVhsv(234, 60%, 64%)
CMYKcmyk(60.5%, 54.9%, 0%, 36.5%)
CIE-LABlab(34.93, 24.26, -49.49)
CIE-LCHlch(34.93, 55.12, 296.11°)
OKLaboklab(44.85% 0.0118 -0.1419)
OKLCHoklch(44.85% 0.142 274.8)
XYZxyz(11.0164, 8.4629, 35.2284)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049A2 #A29940
analogous
#407AA2 #4049A2 #6840A2
triadic
#4049A2 #A24049 #49A240
tetradic
#4049A2 #A2407A #A29940 #40A268
square
#4049A2 #A2407A #A29940 #40A268
split-complementary
#4049A2 #A26840 #7AA240
monochromatic
#1D214A #2F3576 #4049A2 #5F68C0 #8B92D1

Accessibility & contrast

On white

7.80
#4049A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4049A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4049A2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049A2#FFFFFF#000000##FFFFFF
##4049A21.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D56A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4049a2;
/* rgb */ color: rgb(64, 73, 162);
/* oklch */ color: oklch(44.9% 0.142 274.8);
Tailwind
colors: {
  custom: {
    50: '#7e7bbe',
    500: '#4049a2',
    950: '#000000',
  },
}
SCSS
$custom: #4049a2;
$custom-light: #7e7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4049a2",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 234.49,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44851,
    "c": 0.1424,
    "h": 274.8
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#4049A2
secondary
#BCB782
accent
#C855D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4049A2

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

Preview Lab → · Contrast checker → · Palette generator →

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