#4247C4#4247C4

#4247C4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.191 H 274.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4247C4
RGBrgb(66, 71, 196)
HSLhsl(238, 52%, 51%)
HSVhsv(238, 66%, 77%)
CMYKcmyk(66.3%, 63.8%, 0%, 23.1%)
CIE-LABlab(37.20, 37.59, -65.90)
CIE-LCHlch(37.20, 75.87, 299.70°)
OKLaboklab(47.4% 0.0155 -0.1901)
OKLCHoklch(47.4% 0.191 274.6)
XYZxyz(14.4605, 9.6490, 53.3142)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247C4 #C4BF42
analogous
#4288C4 #4247C4 #7E42C4
triadic
#4247C4 #C44247 #47C442
tetradic
#4247C4 #C44288 #C4BF42 #42C47E
square
#4247C4 #C44288 #C4BF42 #42C47E
split-complementary
#4247C4 #C47E42 #88C442
monochromatic
#21246A #303499 #4247C4 #7174D3 #9FA2E1

Accessibility & contrast

On white

7.17
#4247C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4247C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247C4
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247C4#FFFFFF#000000##FFFFFF
##4247C41.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4247c4;
/* rgb */ color: rgb(66, 71, 196);
/* oklch */ color: oklch(47.4% 0.191 274.6);
Tailwind
colors: {
  custom: {
    50: '#867ad7',
    500: '#4247c4',
    950: '#000000',
  },
}
SCSS
$custom: #4247c4;
$custom-light: #867ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4247c4",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 196
  },
  "hsl": {
    "h": 237.692,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47398,
    "c": 0.19073,
    "h": 274.6
  },
  "luminance": 0.0965
}

Semantic roles & 50–950 ramp

primary
#4247C4
secondary
#CECB94
accent
#D64CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4247C4

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

Preview Lab → · Contrast checker → · Palette generator →

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