#4247C8#4247C8

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

Color values

HEX#4247C8
RGBrgb(66, 71, 200)
HSLhsl(238, 55%, 52%)
HSVhsv(238, 67%, 78%)
CMYKcmyk(67%, 64.5%, 0%, 21.6%)
CIE-LABlab(37.54, 38.95, -67.68)
CIE-LCHlch(37.54, 78.09, 299.92°)
OKLaboklab(47.75% 0.0152 -0.1953)
OKLCHoklch(47.75% 0.196 274.4)
XYZxyz(14.9219, 9.8335, 55.7441)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247C8 #C8C342
analogous
#428AC8 #4247C8 #8042C8
triadic
#4247C8 #C84247 #47C842
tetradic
#4247C8 #C8428A #C8C342 #42C880
square
#4247C8 #C8428A #C8C342 #42C880
split-complementary
#4247C8 #C88042 #8AC842
monochromatic
#20236F #2E329F #4247C8 #7175D6 #A1A3E4

Accessibility & contrast

On white

7.08
#4247C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4247C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247C8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247C8#FFFFFF#000000##FFFFFF
##4247C81.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0052C6
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4247c8;
/* rgb */ color: rgb(66, 71, 200);
/* oklch */ color: oklch(47.7% 0.196 274.4);
Tailwind
colors: {
  custom: {
    50: '#877ada',
    500: '#4247c8',
    950: '#000000',
  },
}
SCSS
$custom: #4247c8;
$custom-light: #877ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4247c8",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 237.761,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.19591,
    "h": 274.4
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#4247C8
secondary
#D0CE96
accent
#D94ADE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4247C8

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

Preview Lab → · Contrast checker → · Palette generator →

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