#4247D2#4247D2

#4247D2 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.6% C 0.209 H 273.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4247D2
RGBrgb(66, 71, 210)
HSLhsl(238, 62%, 54%)
HSVhsv(238, 69%, 82%)
CMYKcmyk(68.6%, 66.2%, 0%, 17.6%)
CIE-LABlab(38.40, 42.32, -72.06)
CIE-LCHlch(38.40, 83.57, 300.42°)
OKLaboklab(48.64% 0.0143 -0.2081)
OKLCHoklch(48.64% 0.209 273.9)
XYZxyz(16.1290, 10.3164, 62.1015)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247D2 #D2CD42
analogous
#428FD2 #4247D2 #8542D2
triadic
#4247D2 #D24247 #47D242
tetradic
#4247D2 #D2428F #D2CD42 #42D285
square
#4247D2 #D2428F #D2CD42 #42D285
split-complementary
#4247D2 #D28542 #8FD242
monochromatic
#1E217C #292EAD #4247D2 #7377DE #A5A7EA

Accessibility & contrast

On white

6.85
#4247D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4247D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4247D2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247D2#FFFFFF#000000##FFFFFF
##4247D21.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0054CF
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4247d2;
/* rgb */ color: rgb(66, 71, 210);
/* oklch */ color: oklch(48.6% 0.209 273.9);
Tailwind
colors: {
  custom: {
    50: '#897be1',
    500: '#4247d2',
    950: '#000000',
  },
}
SCSS
$custom: #4247d2;
$custom-light: #897be1;
$custom-dark: #000000;
JSON
{
  "hex": "#4247d2",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 237.917,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.20863,
    "h": 273.9
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#4247D2
secondary
#D7D499
accent
#DF43E5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4247D2

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

Preview Lab → · Contrast checker → · Palette generator →

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