#4247D3#4247D3

#4247D3 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.7% C 0.210 H 273.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4247D3
RGBrgb(66, 71, 211)
HSLhsl(238, 62%, 54%)
HSVhsv(238, 69%, 83%)
CMYKcmyk(68.7%, 66.4%, 0%, 17.3%)
CIE-LABlab(38.49, 42.65, -72.49)
CIE-LCHlch(38.49, 84.11, 300.47°)
OKLaboklab(48.73% 0.0142 -0.2094)
OKLCHoklch(48.73% 0.21 273.9)
XYZxyz(16.2540, 10.3663, 62.7597)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247D3 #D3CE42
analogous
#4290D3 #4247D3 #8642D3
triadic
#4247D3 #D34247 #47D342
tetradic
#4247D3 #D34290 #D3CE42 #42D386
square
#4247D3 #D34290 #D3CE42 #42D386
split-complementary
#4247D3 #D38642 #90D342
monochromatic
#1D217D #292DAF #4247D3 #7477DF #A5A8EA

Accessibility & contrast

On white

6.83
#4247D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4247D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4247D3
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247D3#FFFFFF#000000##FFFFFF
##4247D31.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0054D0
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4247d3;
/* rgb */ color: rgb(66, 71, 211);
/* oklch */ color: oklch(48.7% 0.210 273.9);
Tailwind
colors: {
  custom: {
    50: '#897be2',
    500: '#4247d3',
    950: '#000000',
  },
}
SCSS
$custom: #4247d3;
$custom-light: #897be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4247d3",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 237.931,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48732,
    "c": 0.20989,
    "h": 273.9
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#4247D3
secondary
#D7D59A
accent
#E042E5
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #4247D3

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

Preview Lab → · Contrast checker → · Palette generator →

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