#4247C5#4247C5

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

Color values

HEX#4247C5
RGBrgb(66, 71, 197)
HSLhsl(238, 53%, 52%)
HSVhsv(238, 66%, 77%)
CMYKcmyk(66.5%, 64%, 0%, 22.7%)
CIE-LABlab(37.29, 37.93, -66.35)
CIE-LCHlch(37.29, 76.43, 299.76°)
OKLaboklab(47.49% 0.0154 -0.1914)
OKLCHoklch(47.49% 0.192 274.6)
XYZxyz(14.5747, 9.6946, 53.9157)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247C5 #C5C042
analogous
#4289C5 #4247C5 #7F42C5
triadic
#4247C5 #C54247 #47C542
tetradic
#4247C5 #C54289 #C5C042 #42C57F
square
#4247C5 #C54289 #C5C042 #42C57F
split-complementary
#4247C5 #C57F42 #89C542
monochromatic
#21246C #2F339A #4247C5 #7175D3 #A0A2E2

Accessibility & contrast

On white

7.14
#4247C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4247C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247C5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247C5#FFFFFF#000000##FFFFFF
##4247C51.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4247c5;
/* rgb */ color: rgb(66, 71, 197);
/* oklch */ color: oklch(47.5% 0.192 274.6);
Tailwind
colors: {
  custom: {
    50: '#867ad8',
    500: '#4247c5',
    950: '#000000',
  },
}
SCSS
$custom: #4247c5;
$custom-light: #867ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#4247c5",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 237.71,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47485,
    "c": 0.19203,
    "h": 274.6
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#4247C5
secondary
#CECC95
accent
#D74BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4247C5

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

Preview Lab → · Contrast checker → · Palette generator →

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