#4246AA#4246AA

#4246AA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.157 H 276.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4246AA
RGBrgb(66, 70, 170)
HSLhsl(238, 44%, 46%)
HSVhsv(238, 61%, 67%)
CMYKcmyk(61.2%, 58.8%, 0%, 33.3%)
CIE-LABlab(34.88, 29.33, -54.35)
CIE-LCHlch(34.88, 61.76, 298.36°)
OKLaboklab(45.04% 0.0173 -0.1562)
OKLCHoklch(45.04% 0.157 276.3)
XYZxyz(11.6903, 8.4399, 39.0354)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246AA #AAA642
analogous
#427AAA #4246AA #7242AA
triadic
#4246AA #AA4246 #46AA42
tetradic
#4246AA #AA427A #AAA642 #42AA72
square
#4246AA #AA427A #AAA642 #42AA72
split-complementary
#4246AA #AA7242 #7AAA42
monochromatic
#202252 #31347E #4246AA #6669C3 #9294D5

Accessibility & contrast

On white

7.81
#4246AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4246AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4246AA#FFFFFF#000000##FFFFFF
##4246AA1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4246aa;
/* rgb */ color: rgb(66, 70, 170);
/* oklch */ color: oklch(45.0% 0.157 276.3);
Tailwind
colors: {
  custom: {
    50: '#8179c4',
    500: '#4246aa',
    950: '#000000',
  },
}
SCSS
$custom: #4246aa;
$custom-light: #8179c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4246aa",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 237.692,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45039,
    "c": 0.15713,
    "h": 276.3
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#4246AA
secondary
#C0BE88
accent
#CF54D4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4246AA

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

Preview Lab → · Contrast checker → · Palette generator →

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