#4049CA#4049CA

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

Color values

HEX#4049CA
RGBrgb(64, 73, 202)
HSLhsl(236, 57%, 52%)
HSVhsv(236, 68%, 79%)
CMYKcmyk(68.3%, 63.9%, 0%, 20.8%)
CIE-LABlab(38.05, 38.13, -68.01)
CIE-LCHlch(38.05, 77.97, 299.28°)
OKLaboklab(48.14% 0.0113 -0.1963)
OKLCHoklch(48.14% 0.197 273.3)
XYZxyz(15.1540, 10.1179, 57.0200)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049CA #CAC140
analogous
#408ECA #4049CA #7C40CA
triadic
#4049CA #CA4049 #49CA40
tetradic
#4049CA #CA408E #CAC140 #40CA7C
square
#4049CA #CA408E #CAC140 #40CA7C
split-complementary
#4049CA #CA7C40 #8ECA40
monochromatic
#1F2470 #2C34A0 #4049CA #7077D7 #A0A4E5

Accessibility & contrast

On white

6.94
#4049CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4049CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049CA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049CA#FFFFFF#000000##FFFFFF
##4049CA1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4049ca;
/* rgb */ color: rgb(64, 73, 202);
/* oklch */ color: oklch(48.1% 0.197 273.3);
Tailwind
colors: {
  custom: {
    50: '#867cdb',
    500: '#4049ca',
    950: '#000000',
  },
}
SCSS
$custom: #4049ca;
$custom-light: #867cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4049ca",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 236.087,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48142,
    "c": 0.19665,
    "h": 273.3
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#4049CA
secondary
#D1CD95
accent
#D648E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4049CA

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

Preview Lab → · Contrast checker → · Palette generator →

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