#4046BB#4046BB

#4046BB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.181 H 274.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4046BB
RGBrgb(64, 70, 187)
HSLhsl(237, 49%, 49%)
HSVhsv(237, 66%, 73%)
CMYKcmyk(65.8%, 62.6%, 0%, 26.7%)
CIE-LABlab(36.09, 34.85, -62.45)
CIE-LCHlch(36.09, 71.52, 299.16°)
OKLaboklab(46.32% 0.0145 -0.18)
OKLCHoklch(46.32% 0.181 274.6)
XYZxyz(13.2712, 9.0570, 48.0529)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046BB #BBB540
analogous
#4084BB #4046BB #7840BB
triadic
#4046BB #BB4046 #46BB40
tetradic
#4046BB #BB4084 #BBB540 #40BB78
square
#4046BB #BB4084 #BBB540 #40BB78
split-complementary
#4046BB #BB7840 #84BB40
monochromatic
#212460 #30358D #4046BB #6C70CD #999CDC

Accessibility & contrast

On white

7.47
#4046BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4046BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4046BB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046BB#FFFFFF#000000##FFFFFF
##4046BB1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4046bb;
/* rgb */ color: rgb(64, 70, 187);
/* oklch */ color: oklch(46.3% 0.181 274.6);
Tailwind
colors: {
  custom: {
    50: '#8379d0',
    500: '#4046bb',
    950: '#000000',
  },
}
SCSS
$custom: #4046bb;
$custom-light: #8379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4046bb",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 237.073,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46318,
    "c": 0.18062,
    "h": 274.6
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#4046BB
secondary
#C8C58F
accent
#D24FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4046BB

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

Preview Lab → · Contrast checker → · Palette generator →

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