#4247BC#4247BC

#4247BC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.180 H 275.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4247BC
RGBrgb(66, 71, 188)
HSLhsl(238, 48%, 50%)
HSVhsv(238, 65%, 74%)
CMYKcmyk(64.9%, 62.2%, 0%, 26.3%)
CIE-LABlab(36.55, 34.87, -62.30)
CIE-LCHlch(36.55, 71.39, 299.23°)
OKLaboklab(46.71% 0.0159 -0.1795)
OKLCHoklch(46.71% 0.18 275.1)
XYZxyz(13.5741, 9.2944, 48.6459)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247BC #BCB742
analogous
#4284BC #4247BC #7A42BC
triadic
#4247BC #BC4247 #47BC42
tetradic
#4247BC #BC4284 #BCB742 #42BC7A
square
#4247BC #BC4284 #BCB742 #42BC7A
split-complementary
#4247BC #BC7A42 #84BC42
monochromatic
#222561 #32368F #4247BC #6F73CC #9C9FDC

Accessibility & contrast

On white

7.34
#4247BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4247BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247BC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247BC#FFFFFF#000000##FFFFFF
##4247BC1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4247bc;
/* rgb */ color: rgb(66, 71, 188);
/* oklch */ color: oklch(46.7% 0.180 275.1);
Tailwind
colors: {
  custom: {
    50: '#847ad1',
    500: '#4247bc',
    950: '#000000',
  },
}
SCSS
$custom: #4247bc;
$custom-light: #847ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4247bc",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 237.541,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.18024,
    "h": 275.1
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#4247BC
secondary
#C9C691
accent
#D250D8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4247BC

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

Preview Lab → · Contrast checker → · Palette generator →

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