#4046CF#4046CF

#4046CF is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.1% C 0.206 H 273.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4046CF
RGBrgb(64, 70, 207)
HSLhsl(237, 60%, 53%)
HSVhsv(237, 69%, 81%)
CMYKcmyk(69.1%, 66.2%, 0%, 18.8%)
CIE-LABlab(37.80, 41.67, -71.33)
CIE-LCHlch(37.80, 82.61, 300.29°)
OKLaboklab(48.09% 0.013 -0.2061)
OKLCHoklch(48.09% 0.206 273.6)
XYZxyz(15.5632, 9.9738, 60.1243)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046CF #CFC940
analogous
#408DCF #4046CF #8240CF
triadic
#4046CF #CF4046 #46CF40
tetradic
#4046CF #CF408D #CFC940 #40CF82
square
#4046CF #CF408D #CFC940 #40CF82
split-complementary
#4046CF #CF8240 #8DCF40
monochromatic
#1E2277 #2A2FA8 #4046CF #7175DB #A2A5E8

Accessibility & contrast

On white

7.01
#4046CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4046CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4046CF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046CF#FFFFFF#000000##FFFFFF
##4046CF1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4046cf;
/* rgb */ color: rgb(64, 70, 207);
/* oklch */ color: oklch(48.1% 0.206 273.6);
Tailwind
colors: {
  custom: {
    50: '#877adf',
    500: '#4046cf',
    950: '#000000',
  },
}
SCSS
$custom: #4046cf;
$custom-light: #877adf;
$custom-dark: #000000;
JSON
{
  "hex": "#4046cf",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 237.483,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48086,
    "c": 0.20647,
    "h": 273.6
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#4046CF
secondary
#D4D297
accent
#DC45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4046CF

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

Preview Lab → · Contrast checker → · Palette generator →

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