#4247D7#4247D7

#4247D7 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.1% C 0.215 H 273.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4247D7
RGBrgb(66, 71, 215)
HSLhsl(238, 65%, 55%)
HSVhsv(238, 69%, 84%)
CMYKcmyk(69.3%, 67%, 0%, 15.7%)
CIE-LABlab(38.85, 43.99, -74.21)
CIE-LCHlch(38.85, 86.27, 300.66°)
OKLaboklab(49.1% 0.0138 -0.2144)
OKLCHoklch(49.1% 0.215 273.7)
XYZxyz(16.7617, 10.5694, 65.4336)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247D7 #D7D242
analogous
#4291D7 #4247D7 #8842D7
triadic
#4247D7 #D74247 #47D742
tetradic
#4247D7 #D74291 #D7D242 #42D788
square
#4247D7 #D74291 #D7D242 #42D788
split-complementary
#4247D7 #D78842 #91D742
monochromatic
#1C1F83 #262BB5 #4247D7 #7578E2 #A7A9EC

Accessibility & contrast

On white

6.74
#4247D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4247D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4247D7
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247D7#FFFFFF#000000##FFFFFF
##4247D71.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0055D4
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4247d7;
/* rgb */ color: rgb(66, 71, 215);
/* oklch */ color: oklch(49.1% 0.215 273.7);
Tailwind
colors: {
  custom: {
    50: '#8a7be5',
    500: '#4247d7',
    950: '#000000',
  },
}
SCSS
$custom: #4247d7;
$custom-light: #8a7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4247d7",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 237.987,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.21489,
    "h": 273.7
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#4247D7
secondary
#DAD89B
accent
#E240E8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4247D7

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

Preview Lab → · Contrast checker → · Palette generator →

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