#4247BD#4247BD

#4247BD is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.182 H 275.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4247BD
RGBrgb(66, 71, 189)
HSLhsl(238, 48%, 50%)
HSVhsv(238, 65%, 74%)
CMYKcmyk(65.1%, 62.4%, 0%, 25.9%)
CIE-LABlab(36.63, 35.21, -62.75)
CIE-LCHlch(36.63, 71.96, 299.29°)
OKLaboklab(46.79% 0.0159 -0.1809)
OKLCHoklch(46.79% 0.182 275)
XYZxyz(13.6823, 9.3377, 49.2156)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247BD #BDB842
analogous
#4284BD #4247BD #7B42BD
triadic
#4247BD #BD4247 #47BD42
tetradic
#4247BD #BD4284 #BDB842 #42BD7B
square
#4247BD #BD4284 #BDB842 #42BD7B
split-complementary
#4247BD #BD7B42 #84BD42
monochromatic
#222562 #323690 #4247BD #6F73CD #9D9FDD

Accessibility & contrast

On white

7.32
#4247BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4247BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247BD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247BD#FFFFFF#000000##FFFFFF
##4247BD1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4247bd;
/* rgb */ color: rgb(66, 71, 189);
/* oklch */ color: oklch(46.8% 0.182 275.0);
Tailwind
colors: {
  custom: {
    50: '#857ad2',
    500: '#4247bd',
    950: '#000000',
  },
}
SCSS
$custom: #4247bd;
$custom-light: #857ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4247bd",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 237.561,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.46794,
    "c": 0.18156,
    "h": 275
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4247BD

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

Preview Lab → · Contrast checker → · Palette generator →

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