#4247D5#4247D5

#4247D5 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.9% C 0.212 H 273.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4247D5
RGBrgb(66, 71, 213)
HSLhsl(238, 64%, 55%)
HSVhsv(238, 69%, 84%)
CMYKcmyk(69%, 66.7%, 0%, 16.5%)
CIE-LABlab(38.67, 43.32, -73.36)
CIE-LCHlch(38.67, 85.19, 300.56°)
OKLaboklab(48.91% 0.014 -0.2119)
OKLCHoklch(48.91% 0.212 273.8)
XYZxyz(16.5062, 10.4673, 64.0884)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247D5 #D5D042
analogous
#4291D5 #4247D5 #8642D5
triadic
#4247D5 #D54247 #47D542
tetradic
#4247D5 #D54291 #D5D042 #42D586
square
#4247D5 #D54291 #D5D042 #42D586
split-complementary
#4247D5 #D58642 #91D542
monochromatic
#1C2080 #282CB2 #4247D5 #7478E0 #A6A8EB

Accessibility & contrast

On white

6.79
#4247D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4247D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4247D5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247D5#FFFFFF#000000##FFFFFF
##4247D51.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0054D2
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4247d5;
/* rgb */ color: rgb(66, 71, 213);
/* oklch */ color: oklch(48.9% 0.212 273.8);
Tailwind
colors: {
  custom: {
    50: '#897be3',
    500: '#4247d5',
    950: '#000000',
  },
}
SCSS
$custom: #4247d5;
$custom-light: #897be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4247d5",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 237.959,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.21239,
    "h": 273.8
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#4247D5
secondary
#D8D69A
accent
#E141E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4247D5

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

Preview Lab → · Contrast checker → · Palette generator →

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