#4247BB#4247BB

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

Color values

HEX#4247BB
RGBrgb(66, 71, 187)
HSLhsl(238, 48%, 50%)
HSVhsv(238, 65%, 73%)
CMYKcmyk(64.7%, 62%, 0%, 26.7%)
CIE-LABlab(36.46, 34.52, -61.84)
CIE-LCHlch(36.46, 70.83, 299.17°)
OKLaboklab(46.62% 0.016 -0.1782)
OKLCHoklch(46.62% 0.179 275.1)
XYZxyz(13.4667, 9.2514, 48.0801)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247BB #BBB642
analogous
#4283BB #4247BB #7A42BB
triadic
#4247BB #BB4247 #47BB42
tetradic
#4247BB #BB4283 #BBB642 #42BB7A
square
#4247BB #BB4283 #BBB642 #42BB7A
split-complementary
#4247BB #BB7A42 #83BB42
monochromatic
#222561 #32368E #4247BB #6E72CC #9C9EDC

Accessibility & contrast

On white

7.37
#4247BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4247BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247BB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247BB#FFFFFF#000000##FFFFFF
##4247BB1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4247bb;
/* rgb */ color: rgb(66, 71, 187);
/* oklch */ color: oklch(46.6% 0.179 275.1);
Tailwind
colors: {
  custom: {
    50: '#847ad0',
    500: '#4247bb',
    950: '#000000',
  },
}
SCSS
$custom: #4247bb;
$custom-light: #847ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4247bb",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 237.521,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46624,
    "c": 0.17891,
    "h": 275.1
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#4247BB
secondary
#C8C691
accent
#D250D7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4247BB

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

Preview Lab → · Contrast checker → · Palette generator →

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