#4247D8#4247D8

#4247D8 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.2% C 0.216 H 273.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4247D8
RGBrgb(66, 71, 216)
HSLhsl(238, 66%, 55%)
HSVhsv(238, 69%, 85%)
CMYKcmyk(69.4%, 67.1%, 0%, 15.3%)
CIE-LABlab(38.93, 44.32, -74.64)
CIE-LCHlch(38.93, 86.81, 300.70°)
OKLaboklab(49.19% 0.0137 -0.2157)
OKLCHoklch(49.19% 0.216 273.6)
XYZxyz(16.8905, 10.6210, 66.1123)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247D8 #D8D342
analogous
#4292D8 #4247D8 #8842D8
triadic
#4247D8 #D84247 #47D842
tetradic
#4247D8 #D84292 #D8D342 #42D888
square
#4247D8 #D84292 #D8D342 #42D888
split-complementary
#4247D8 #D88842 #92D842
monochromatic
#1B1F84 #262BB7 #4247D8 #7578E2 #A7AAED

Accessibility & contrast

On white

6.72
#4247D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4247D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4247D8
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247D8#FFFFFF#000000##FFFFFF
##4247D81.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#0055D5
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4247d8;
/* rgb */ color: rgb(66, 71, 216);
/* oklch */ color: oklch(49.2% 0.216 273.6);
Tailwind
colors: {
  custom: {
    50: '#8a7be5',
    500: '#4247d8',
    950: '#000000',
  },
}
SCSS
$custom: #4247d8;
$custom-light: #8a7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4247d8",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 238,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.21613,
    "h": 273.6
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#4247D8
secondary
#DAD89C
accent
#E33FE9
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4247D8

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

Preview Lab → · Contrast checker → · Palette generator →

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