#4247CC#4247CC

#4247CC is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.1% C 0.201 H 274.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4247CC
RGBrgb(66, 71, 204)
HSLhsl(238, 58%, 53%)
HSVhsv(238, 68%, 80%)
CMYKcmyk(67.6%, 65.2%, 0%, 20%)
CIE-LABlab(37.88, 40.30, -69.45)
CIE-LCHlch(37.88, 80.29, 300.13°)
OKLaboklab(48.1% 0.0148 -0.2005)
OKLCHoklch(48.1% 0.201 274.2)
XYZxyz(15.3955, 10.0229, 58.2383)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247CC #CCC742
analogous
#428CCC #4247CC #8242CC
triadic
#4247CC #CC4247 #47CC42
tetradic
#4247CC #CC428C #CCC742 #42CC82
square
#4247CC #CC428C #CCC742 #42CC82
split-complementary
#4247CC #CC8242 #8CCC42
monochromatic
#1F2274 #2C31A4 #4247CC #7276D9 #A2A5E6

Accessibility & contrast

On white

6.99
#4247CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#4247CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4247CC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247CC#FFFFFF#000000##FFFFFF
##4247CC1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0053C9
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4247cc;
/* rgb */ color: rgb(66, 71, 204);
/* oklch */ color: oklch(48.1% 0.201 274.2);
Tailwind
colors: {
  custom: {
    50: '#887add',
    500: '#4247cc',
    950: '#000000',
  },
}
SCSS
$custom: #4247cc;
$custom-light: #887add;
$custom-dark: #000000;
JSON
{
  "hex": "#4247cc",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 237.826,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48103,
    "c": 0.20103,
    "h": 274.2
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#4247CC
secondary
#D3D197
accent
#DB47E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4247CC

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

Preview Lab → · Contrast checker → · Palette generator →

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