#4046C3#4046C3

#4046C3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.191 H 274.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4046C3
RGBrgb(64, 70, 195)
HSLhsl(237, 52%, 51%)
HSVhsv(237, 67%, 76%)
CMYKcmyk(67.2%, 64.1%, 0%, 23.5%)
CIE-LABlab(36.76, 37.59, -66.05)
CIE-LCHlch(36.76, 76.00, 299.65°)
OKLaboklab(47.01% 0.014 -0.1906)
OKLCHoklch(47.01% 0.191 274.2)
XYZxyz(14.1516, 9.4092, 52.6895)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046C3 #C3BD40
analogous
#4087C3 #4046C3 #7B40C3
triadic
#4046C3 #C34046 #46C340
tetradic
#4046C3 #C34087 #C3BD40 #40C37B
square
#4046C3 #C34087 #C3BD40 #40C37B
split-complementary
#4046C3 #C37B40 #87C340
monochromatic
#212468 #2F3497 #4046C3 #6F73D2 #9DA0E0

Accessibility & contrast

On white

7.29
#4046C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4046C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4046C3
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046C3#FFFFFF#000000##FFFFFF
##4046C31.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4046c3;
/* rgb */ color: rgb(64, 70, 195);
/* oklch */ color: oklch(47.0% 0.191 274.2);
Tailwind
colors: {
  custom: {
    50: '#857ad6',
    500: '#4046c3',
    950: '#000000',
  },
}
SCSS
$custom: #4046c3;
$custom-light: #857ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4046c3",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 195
  },
  "hsl": {
    "h": 237.252,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.19111,
    "h": 274.2
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#4046C3
secondary
#CCCA92
accent
#D54CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4046C3

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

Preview Lab → · Contrast checker → · Palette generator →

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