#4046BE#4046BE

#4046BE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.6% C 0.185 H 274.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4046BE
RGBrgb(64, 70, 190)
HSLhsl(237, 50%, 50%)
HSVhsv(237, 66%, 75%)
CMYKcmyk(66.3%, 63.2%, 0%, 25.5%)
CIE-LABlab(36.34, 35.88, -63.81)
CIE-LCHlch(36.34, 73.21, 299.35°)
OKLaboklab(46.58% 0.0143 -0.184)
OKLCHoklch(46.58% 0.185 274.5)
XYZxyz(13.5957, 9.1868, 49.7620)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046BE #BEB840
analogous
#4085BE #4046BE #7940BE
triadic
#4046BE #BE4046 #46BE40
tetradic
#4046BE #BE4085 #BEB840 #40BE79
square
#4046BE #BE4085 #BEB840 #40BE79
split-complementary
#4046BE #BE7940 #85BE40
monochromatic
#212462 #313590 #4046BE #6D72CE #9B9EDD

Accessibility & contrast

On white

7.40
#4046BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4046BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4046BE
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046BE#FFFFFF#000000##FFFFFF
##4046BE1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4046be;
/* rgb */ color: rgb(64, 70, 190);
/* oklch */ color: oklch(46.6% 0.185 274.5);
Tailwind
colors: {
  custom: {
    50: '#8479d3',
    500: '#4046be',
    950: '#000000',
  },
}
SCSS
$custom: #4046be;
$custom-light: #8479d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4046be",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 237.143,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46577,
    "c": 0.18458,
    "h": 274.5
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#4046BE
secondary
#C9C790
accent
#D34FD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4046BE

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

Preview Lab → · Contrast checker → · Palette generator →

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