#4247C7#4247C7

#4247C7 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.195 H 274.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4247C7
RGBrgb(66, 71, 199)
HSLhsl(238, 54%, 52%)
HSVhsv(238, 67%, 78%)
CMYKcmyk(66.8%, 64.3%, 0%, 22%)
CIE-LABlab(37.46, 38.61, -67.24)
CIE-LCHlch(37.46, 77.54, 299.86°)
OKLaboklab(47.66% 0.0153 -0.194)
OKLCHoklch(47.66% 0.195 274.5)
XYZxyz(14.8054, 9.7869, 55.1306)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247C7 #C7C242
analogous
#428AC7 #4247C7 #7F42C7
triadic
#4247C7 #C74247 #47C742
tetradic
#4247C7 #C7428A #C7C242 #42C77F
square
#4247C7 #C7428A #C7C242 #42C77F
split-complementary
#4247C7 #C77F42 #8AC742
monochromatic
#21246E #2F339D #4247C7 #7175D5 #A0A3E3

Accessibility & contrast

On white

7.10
#4247C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4247C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247C7
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247C7#FFFFFF#000000##FFFFFF
##4247C71.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4247c7;
/* rgb */ color: rgb(66, 71, 199);
/* oklch */ color: oklch(47.7% 0.195 274.5);
Tailwind
colors: {
  custom: {
    50: '#877ad9',
    500: '#4247c7',
    950: '#000000',
  },
}
SCSS
$custom: #4247c7;
$custom-light: #877ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4247c7",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 237.744,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.19462,
    "h": 274.5
  },
  "luminance": 0.09788
}

Semantic roles & 50–950 ramp

primary
#4247C7
secondary
#D0CD95
accent
#D84ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4247C7

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

Preview Lab → · Contrast checker → · Palette generator →

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