#4046BC#4046BC

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

Color values

HEX#4046BC
RGBrgb(64, 70, 188)
HSLhsl(237, 49%, 49%)
HSVhsv(237, 66%, 74%)
CMYKcmyk(66%, 62.8%, 0%, 26.3%)
CIE-LABlab(36.18, 35.20, -62.91)
CIE-LCHlch(36.18, 72.08, 299.23°)
OKLaboklab(46.4% 0.0144 -0.1814)
OKLCHoklch(46.4% 0.182 274.6)
XYZxyz(13.3786, 9.1000, 48.6186)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046BC #BCB640
analogous
#4084BC #4046BC #7840BC
triadic
#4046BC #BC4046 #46BC40
tetradic
#4046BC #BC4084 #BCB640 #40BC78
square
#4046BC #BC4084 #BCB640 #40BC78
split-complementary
#4046BC #BC7840 #84BC40
monochromatic
#212461 #30358E #4046BC #6C71CD #9A9DDD

Accessibility & contrast

On white

7.45
#4046BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4046BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4046BC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046BC#FFFFFF#000000##FFFFFF
##4046BC1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4046bc;
/* rgb */ color: rgb(64, 70, 188);
/* oklch */ color: oklch(46.4% 0.182 274.6);
Tailwind
colors: {
  custom: {
    50: '#8379d1',
    500: '#4046bc',
    950: '#000000',
  },
}
SCSS
$custom: #4046bc;
$custom-light: #8379d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4046bc",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 237.097,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.18194,
    "h": 274.6
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

primary
#4046BC
secondary
#C9C68F
accent
#D24FD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4046BC

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

Preview Lab → · Contrast checker → · Palette generator →

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