#4247DD#4247DD

#4247DD is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.6% C 0.222 H 273.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4247DD
RGBrgb(66, 71, 221)
HSLhsl(238, 70%, 56%)
HSVhsv(238, 70%, 87%)
CMYKcmyk(70.1%, 67.9%, 0%, 13.3%)
CIE-LABlab(39.38, 45.98, -76.77)
CIE-LCHlch(39.38, 89.49, 300.92°)
OKLaboklab(49.65% 0.0131 -0.2219)
OKLCHoklch(49.65% 0.222 273.4)
XYZxyz(17.5468, 10.8835, 69.5686)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247DD #DDD842
analogous
#4294DD #4247DD #8B42DD
triadic
#4247DD #DD4247 #47DD42
tetradic
#4247DD #DD4294 #DDD842 #42DD8B
square
#4247DD #DD4294 #DDD842 #42DD8B
split-complementary
#4247DD #DD8B42 #94DD42
monochromatic
#191D8C #2227BF #4247DD #7679E6 #AAACF0

Accessibility & contrast

On white

6.61
#4247DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4247DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4247DD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247DD#FFFFFF#000000##FFFFFF
##4247DD1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E2
Deuteranopia (green-blind)
#0055DA
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4247dd;
/* rgb */ color: rgb(66, 71, 221);
/* oklch */ color: oklch(49.6% 0.222 273.4);
Tailwind
colors: {
  custom: {
    50: '#8b7be9',
    500: '#4247dd',
    950: '#000000',
  },
}
SCSS
$custom: #4247dd;
$custom-light: #8b7be9;
$custom-dark: #000000;
JSON
{
  "hex": "#4247dd",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 238.065,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49649,
    "c": 0.22231,
    "h": 273.4
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#4247DD
secondary
#DDDB9D
accent
#E73BEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4247DD

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

Preview Lab → · Contrast checker → · Palette generator →

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