#4246C6#4246C6

#4246C6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.195 H 274.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4246C6
RGBrgb(66, 70, 198)
HSLhsl(238, 54%, 52%)
HSVhsv(238, 67%, 78%)
CMYKcmyk(66.7%, 64.6%, 0%, 22.4%)
CIE-LABlab(37.14, 38.88, -67.17)
CIE-LCHlch(37.14, 77.62, 300.06°)
OKLaboklab(47.4% 0.0161 -0.1938)
OKLCHoklch(47.4% 0.195 274.7)
XYZxyz(14.6266, 9.6145, 54.5001)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246C6 #C6C242
analogous
#4288C6 #4246C6 #8042C6
triadic
#4246C6 #C64246 #46C642
tetradic
#4246C6 #C64288 #C6C242 #42C680
square
#4246C6 #C64288 #C6C242 #42C680
split-complementary
#4246C6 #C68042 #88C642
monochromatic
#21236D #2F329C #4246C6 #7174D4 #A0A2E2

Accessibility & contrast

On white

7.18
#4246C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4246C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4246C6#FFFFFF#000000##FFFFFF
##4246C61.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4246c6;
/* rgb */ color: rgb(66, 70, 198);
/* oklch */ color: oklch(47.4% 0.195 274.7);
Tailwind
colors: {
  custom: {
    50: '#867ad8',
    500: '#4246c6',
    950: '#000000',
  },
}
SCSS
$custom: #4246c6;
$custom-light: #867ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#4246c6",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 198
  },
  "hsl": {
    "h": 238.182,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.1945,
    "h": 274.7
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#4246C6
secondary
#CFCD95
accent
#D94BDD
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4246C6

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

Preview Lab → · Contrast checker → · Palette generator →

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