#4247AD#4247AD

#4247AD is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.160 H 275.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4247AD
RGBrgb(66, 71, 173)
HSLhsl(237, 45%, 47%)
HSVhsv(237, 62%, 68%)
CMYKcmyk(61.8%, 59%, 0%, 32.2%)
CIE-LABlab(35.36, 29.72, -55.36)
CIE-LCHlch(35.36, 62.83, 298.23°)
OKLaboklab(45.47% 0.0164 -0.1591)
OKLCHoklch(45.47% 0.16 275.9)
XYZxyz(12.0404, 8.6809, 40.5682)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247AD #ADA842
analogous
#427DAD #4247AD #7342AD
triadic
#4247AD #AD4247 #47AD42
tetradic
#4247AD #AD427D #ADA842 #42AD73
square
#4247AD #AD427D #ADA842 #42AD73
split-complementary
#4247AD #AD7342 #7DAD42
monochromatic
#202354 #313581 #4247AD #676CC5 #9397D6

Accessibility & contrast

On white

7.67
#4247AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4247AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247AD
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247AD#FFFFFF#000000##FFFFFF
##4247AD1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4247ad;
/* rgb */ color: rgb(66, 71, 173);
/* oklch */ color: oklch(45.5% 0.160 275.9);
Tailwind
colors: {
  custom: {
    50: '#817ac6',
    500: '#4247ad',
    950: '#000000',
  },
}
SCSS
$custom: #4247ad;
$custom-light: #817ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#4247ad",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 237.196,
    "s": 44.77,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45466,
    "c": 0.15997,
    "h": 275.9
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#4247AD
secondary
#C1BF89
accent
#CE53D4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4247AD

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

Preview Lab → · Contrast checker → · Palette generator →

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