#4046CA#4046CA

#4046CA is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.6% C 0.200 H 273.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4046CA
RGBrgb(64, 70, 202)
HSLhsl(237, 57%, 52%)
HSVhsv(237, 68%, 79%)
CMYKcmyk(68.3%, 65.3%, 0%, 20.8%)
CIE-LABlab(37.36, 39.97, -69.15)
CIE-LCHlch(37.36, 79.87, 300.03°)
OKLaboklab(47.64% 0.0135 -0.1997)
OKLCHoklch(47.64% 0.2 273.9)
XYZxyz(14.9616, 9.7332, 56.9559)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046CA #CAC440
analogous
#408BCA #4046CA #7F40CA
triadic
#4046CA #CA4046 #46CA40
tetradic
#4046CA #CA408B #CAC440 #40CA7F
square
#4046CA #CA408B #CAC440 #40CA7F
split-complementary
#4046CA #CA7F40 #8BCA40
monochromatic
#1F2370 #2C32A0 #4046CA #7074D7 #A0A3E5

Accessibility & contrast

On white

7.13
#4046CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4046CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4046CA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046CA#FFFFFF#000000##FFFFFF
##4046CA1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4046ca;
/* rgb */ color: rgb(64, 70, 202);
/* oklch */ color: oklch(47.6% 0.200 273.9);
Tailwind
colors: {
  custom: {
    50: '#867adb',
    500: '#4046ca',
    950: '#000000',
  },
}
SCSS
$custom: #4046ca;
$custom-light: #867adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4046ca",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 237.391,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47635,
    "c": 0.20012,
    "h": 273.9
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#4046CA
secondary
#D1CE95
accent
#D948E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4046CA

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

Preview Lab → · Contrast checker → · Palette generator →

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