#4046B3#4046B3

#4046B3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.170 H 275.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4046B3
RGBrgb(64, 70, 179)
HSLhsl(237, 47%, 48%)
HSVhsv(237, 64%, 70%)
CMYKcmyk(64.2%, 60.9%, 0%, 29.8%)
CIE-LABlab(35.45, 32.10, -58.79)
CIE-LCHlch(35.45, 66.98, 298.63°)
OKLaboklab(45.64% 0.0148 -0.1693)
OKLCHoklch(45.64% 0.17 275)
XYZxyz(12.4385, 8.7239, 43.6675)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046B3 #B3AD40
analogous
#407FB3 #4046B3 #7440B3
triadic
#4046B3 #B34046 #46B340
tetradic
#4046B3 #B3407F #B3AD40 #40B374
square
#4046B3 #B3407F #B3AD40 #40B374
split-complementary
#4046B3 #B37440 #7FB340
monochromatic
#202359 #303486 #4046B3 #676CC9 #9498D9

Accessibility & contrast

On white

7.65
#4046B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4046B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4046B3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046B3#FFFFFF#000000##FFFFFF
##4046B31.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4046b3;
/* rgb */ color: rgb(64, 70, 179);
/* oklch */ color: oklch(45.6% 0.170 275.0);
Tailwind
colors: {
  custom: {
    50: '#8279cb',
    500: '#4046b3',
    950: '#000000',
  },
}
SCSS
$custom: #4046b3;
$custom-light: #8279cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4046b3",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 179
  },
  "hsl": {
    "h": 236.87,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.16992,
    "h": 275
  },
  "luminance": 0.08725
}

Semantic roles & 50–950 ramp

primary
#4046B3
secondary
#C4C18A
accent
#D051D7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4046B3

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

Preview Lab → · Contrast checker → · Palette generator →

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