#4247C6#4247C6

#4247C6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.6% C 0.193 H 274.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4247C6
RGBrgb(66, 71, 198)
HSLhsl(238, 54%, 52%)
HSVhsv(238, 67%, 78%)
CMYKcmyk(66.7%, 64.1%, 0%, 22.4%)
CIE-LABlab(37.37, 38.27, -66.80)
CIE-LCHlch(37.37, 76.98, 299.81°)
OKLaboklab(47.57% 0.0153 -0.1927)
OKLCHoklch(47.57% 0.193 274.5)
XYZxyz(14.6897, 9.7406, 54.5211)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247C6 #C6C142
analogous
#4289C6 #4247C6 #7F42C6
triadic
#4247C6 #C64247 #47C642
tetradic
#4247C6 #C64289 #C6C142 #42C67F
square
#4247C6 #C64289 #C6C142 #42C67F
split-complementary
#4247C6 #C67F42 #89C642
monochromatic
#21246D #2F339C #4247C6 #7175D4 #A0A3E2

Accessibility & contrast

On white

7.12
#4247C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4247C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247C6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247C6#FFFFFF#000000##FFFFFF
##4247C61.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4247c6;
/* rgb */ color: rgb(66, 71, 198);
/* oklch */ color: oklch(47.6% 0.193 274.5);
Tailwind
colors: {
  custom: {
    50: '#867ad8',
    500: '#4247c6',
    950: '#000000',
  },
}
SCSS
$custom: #4247c6;
$custom-light: #867ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#4247c6",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 198
  },
  "hsl": {
    "h": 237.727,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.19333,
    "h": 274.5
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4247C6

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

Preview Lab → · Contrast checker → · Palette generator →

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