#4246C4#4246C4

#4246C4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.192 H 274.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4246C4
RGBrgb(66, 70, 196)
HSLhsl(238, 52%, 51%)
HSVhsv(238, 66%, 77%)
CMYKcmyk(66.3%, 64.3%, 0%, 23.1%)
CIE-LABlab(36.97, 38.21, -66.29)
CIE-LCHlch(36.97, 76.51, 299.96°)
OKLaboklab(47.23% 0.0162 -0.1912)
OKLCHoklch(47.23% 0.192 274.9)
XYZxyz(14.3974, 9.5228, 53.2932)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246C4 #C4C042
analogous
#4287C4 #4246C4 #7F42C4
triadic
#4246C4 #C44246 #46C442
tetradic
#4246C4 #C44287 #C4C042 #42C47F
square
#4246C4 #C44287 #C4C042 #42C47F
split-complementary
#4246C4 #C47F42 #87C442
monochromatic
#21236A #303399 #4246C4 #7174D3 #9FA1E1

Accessibility & contrast

On white

7.23
#4246C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4246C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4246C4#FFFFFF#000000##FFFFFF
##4246C41.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4246c4;
/* rgb */ color: rgb(66, 70, 196);
/* oklch */ color: oklch(47.2% 0.192 274.9);
Tailwind
colors: {
  custom: {
    50: '#867ad7',
    500: '#4246c4',
    950: '#000000',
  },
}
SCSS
$custom: #4246c4;
$custom-light: #867ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4246c4",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 238.154,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47227,
    "c": 0.19192,
    "h": 274.9
  },
  "luminance": 0.09524
}

Semantic roles & 50–950 ramp

primary
#4246C4
secondary
#CECC94
accent
#D74CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4246C4

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

Preview Lab → · Contrast checker → · Palette generator →

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