#4146BA#4146BA

#4146BA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.179 H 275.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4146BA
RGBrgb(65, 70, 186)
HSLhsl(238, 48%, 49%)
HSVhsv(238, 65%, 73%)
CMYKcmyk(65.1%, 62.4%, 0%, 27.1%)
CIE-LABlab(36.08, 34.66, -61.89)
CIE-LCHlch(36.08, 70.93, 299.25°)
OKLaboklab(46.3% 0.0157 -0.1784)
OKLCHoklch(46.3% 0.179 275)
XYZxyz(13.2301, 9.0482, 47.4941)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4146BA #BAB541
analogous
#4183BA #4146BA #7941BA
triadic
#4146BA #BA4146 #46BA41
tetradic
#4146BA #BA4183 #BAB541 #41BA79
square
#4146BA #BA4183 #BAB541 #41BA79
split-complementary
#4146BA #BA7941 #83BA41
monochromatic
#21245F #31358D #4146BA #6C70CC #9A9CDC

Accessibility & contrast

On white

7.47
#4146BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4146BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4146BA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4146BA#FFFFFF#000000##FFFFFF
##4146BA1.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)
#005ABE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4146ba;
/* rgb */ color: rgb(65, 70, 186);
/* oklch */ color: oklch(46.3% 0.179 275.0);
Tailwind
colors: {
  custom: {
    50: '#8479d0',
    500: '#4146ba',
    950: '#000000',
  },
}
SCSS
$custom: #4146ba;
$custom-light: #8479d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4146ba",
  "rgb": {
    "r": 65,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 237.521,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46297,
    "c": 0.17905,
    "h": 275
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

primary
#4146BA
secondary
#C8C58F
accent
#D250D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4146BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4146BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva