#4246BA#4246BA

#4246BA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.179 H 275.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4246BA
RGBrgb(66, 70, 186)
HSLhsl(238, 48%, 49%)
HSVhsv(238, 65%, 73%)
CMYKcmyk(64.5%, 62.4%, 0%, 27.1%)
CIE-LABlab(36.14, 34.81, -61.78)
CIE-LCHlch(36.14, 70.91, 299.40°)
OKLaboklab(46.36% 0.0169 -0.178)
OKLCHoklch(46.36% 0.179 275.4)
XYZxyz(13.2969, 9.0826, 47.4972)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246BA #BAB642
analogous
#4282BA #4246BA #7A42BA
triadic
#4246BA #BA4246 #46BA42
tetradic
#4246BA #BA4282 #BAB642 #42BA7A
square
#4246BA #BA4282 #BAB642 #42BA7A
split-complementary
#4246BA #BA7A42 #82BA42
monochromatic
#222460 #32358D #4246BA #6E71CB #9B9DDB

Accessibility & contrast

On white

7.46
#4246BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4246BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4246BA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4246BA#FFFFFF#000000##FFFFFF
##4246BA1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.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: #4246ba;
/* rgb */ color: rgb(66, 70, 186);
/* oklch */ color: oklch(46.4% 0.179 275.4);
Tailwind
colors: {
  custom: {
    50: '#8479d0',
    500: '#4246ba',
    950: '#000000',
  },
}
SCSS
$custom: #4246ba;
$custom-light: #8479d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4246ba",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 238,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.17881,
    "h": 275.4
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#4246BA
secondary
#C8C690
accent
#D351D7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4246BA

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

Preview Lab → · Contrast checker → · Palette generator →

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