#4247D9#4247D9

#4247D9 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.3% C 0.217 H 273.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4247D9
RGBrgb(66, 71, 217)
HSLhsl(238, 67%, 55%)
HSVhsv(238, 70%, 85%)
CMYKcmyk(69.6%, 67.3%, 0%, 14.9%)
CIE-LABlab(39.02, 44.65, -75.07)
CIE-LCHlch(39.02, 87.35, 300.74°)
OKLaboklab(49.28% 0.0136 -0.2169)
OKLCHoklch(49.28% 0.217 273.6)
XYZxyz(17.0202, 10.6728, 66.7953)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247D9 #D9D442
analogous
#4293D9 #4247D9 #8842D9
triadic
#4247D9 #D94247 #47D942
tetradic
#4247D9 #D94293 #D9D442 #42D988
square
#4247D9 #D94293 #D9D442 #42D988
split-complementary
#4247D9 #D98842 #93D942
monochromatic
#1B1E86 #252AB9 #4247D9 #7579E3 #A8AAED

Accessibility & contrast

On white

6.70
#4247D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4247D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4247D9
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247D9#FFFFFF#000000##FFFFFF
##4247D91.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4247d9;
/* rgb */ color: rgb(66, 71, 217);
/* oklch */ color: oklch(49.3% 0.217 273.6);
Tailwind
colors: {
  custom: {
    50: '#8a7be6',
    500: '#4247d9',
    950: '#000000',
  },
}
SCSS
$custom: #4247d9;
$custom-light: #8a7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4247d9",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 238.013,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.4928,
    "c": 0.21737,
    "h": 273.6
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#4247D9
secondary
#DBD99C
accent
#E43EE9
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4247D9

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

Preview Lab → · Contrast checker → · Palette generator →

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