#4247BF#4247BF

#4247BF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.184 H 274.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4247BF
RGBrgb(66, 71, 191)
HSLhsl(238, 49%, 50%)
HSVhsv(238, 65%, 75%)
CMYKcmyk(65.4%, 62.8%, 0%, 25.1%)
CIE-LABlab(36.79, 35.89, -63.66)
CIE-LCHlch(36.79, 73.08, 299.41°)
OKLaboklab(46.97% 0.0158 -0.1835)
OKLCHoklch(46.97% 0.184 274.9)
XYZxyz(13.9009, 9.4251, 50.3668)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247BF #BFBA42
analogous
#4285BF #4247BF #7B42BF
triadic
#4247BF #BF4247 #47BF42
tetradic
#4247BF #BF4285 #BFBA42 #42BF7B
square
#4247BF #BF4285 #BFBA42 #42BF7B
split-complementary
#4247BF #BF7B42 #85BF42
monochromatic
#222565 #323592 #4247BF #7074CE #9DA0DE

Accessibility & contrast

On white

7.28
#4247BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4247BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247BF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247BF#FFFFFF#000000##FFFFFF
##4247BF1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4247bf;
/* rgb */ color: rgb(66, 71, 191);
/* oklch */ color: oklch(47.0% 0.184 274.9);
Tailwind
colors: {
  custom: {
    50: '#857ad3',
    500: '#4247bf',
    950: '#000000',
  },
}
SCSS
$custom: #4247bf;
$custom-light: #857ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4247bf",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 237.6,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46965,
    "c": 0.1842,
    "h": 274.9
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#4247BF
secondary
#CAC893
accent
#D34FD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4247BF

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

Preview Lab → · Contrast checker → · Palette generator →

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