#4246AC#4246AC

#4246AC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.160 H 276.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4246AC
RGBrgb(66, 70, 172)
HSLhsl(238, 45%, 47%)
HSVhsv(238, 62%, 67%)
CMYKcmyk(61.6%, 59.3%, 0%, 32.5%)
CIE-LABlab(35.04, 30.02, -55.29)
CIE-LCHlch(35.04, 62.92, 298.50°)
OKLaboklab(45.2% 0.0173 -0.1589)
OKLCHoklch(45.2% 0.16 276.2)
XYZxyz(11.8809, 8.5162, 40.0394)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246AC #ACA842
analogous
#427BAC #4246AC #7342AC
triadic
#4246AC #AC4246 #46AC42
tetradic
#4246AC #AC427B #ACA842 #42AC73
square
#4246AC #AC427B #ACA842 #42AC73
split-complementary
#4246AC #AC7342 #7BAC42
monochromatic
#202254 #313480 #4246AC #676AC5 #9395D6

Accessibility & contrast

On white

7.77
#4246AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4246AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4246AC#FFFFFF#000000##FFFFFF
##4246AC1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4246ac;
/* rgb */ color: rgb(66, 70, 172);
/* oklch */ color: oklch(45.2% 0.160 276.2);
Tailwind
colors: {
  custom: {
    50: '#8179c5',
    500: '#4246ac',
    950: '#000000',
  },
}
SCSS
$custom: #4246ac;
$custom-light: #8179c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4246ac",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 237.736,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.452,
    "c": 0.15989,
    "h": 276.2
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#4246AC
secondary
#C1BF89
accent
#CF54D4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4246AC

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

Preview Lab → · Contrast checker → · Palette generator →

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