#4046CB#4046CB

#4046CB is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.7% C 0.201 H 273.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4046CB
RGBrgb(64, 70, 203)
HSLhsl(237, 57%, 52%)
HSVhsv(237, 68%, 80%)
CMYKcmyk(68.5%, 65.5%, 0%, 20.4%)
CIE-LABlab(37.45, 40.31, -69.59)
CIE-LCHlch(37.45, 80.42, 300.08°)
OKLaboklab(47.73% 0.0134 -0.2009)
OKLCHoklch(47.73% 0.201 273.8)
XYZxyz(15.0804, 9.7807, 57.5815)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046CB #CBC540
analogous
#408CCB #4046CB #7F40CB
triadic
#4046CB #CB4046 #46CB40
tetradic
#4046CB #CB408C #CBC540 #40CB7F
square
#4046CB #CB408C #CBC540 #40CB7F
split-complementary
#4046CB #CB7F40 #8CCB40
monochromatic
#1F2372 #2C31A2 #4046CB #7075D8 #A0A3E5

Accessibility & contrast

On white

7.10
#4046CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4046CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4046CB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046CB#FFFFFF#000000##FFFFFF
##4046CB1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4046cb;
/* rgb */ color: rgb(64, 70, 203);
/* oklch */ color: oklch(47.7% 0.201 273.8);
Tailwind
colors: {
  custom: {
    50: '#877adc',
    500: '#4046cb',
    950: '#000000',
  },
}
SCSS
$custom: #4046cb;
$custom-light: #877adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4046cb",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 237.41,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.20139,
    "h": 273.8
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#4046CB
secondary
#D2CF95
accent
#DA47E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4046CB

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

Preview Lab → · Contrast checker → · Palette generator →

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