#4247BE#4247BE

#4247BE is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.9% C 0.183 H 275.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4247BE
RGBrgb(66, 71, 190)
HSLhsl(238, 49%, 50%)
HSVhsv(238, 65%, 75%)
CMYKcmyk(65.3%, 62.6%, 0%, 25.5%)
CIE-LABlab(36.71, 35.55, -63.21)
CIE-LCHlch(36.71, 72.52, 299.35°)
OKLaboklab(46.88% 0.0158 -0.1822)
OKLCHoklch(46.88% 0.183 275)
XYZxyz(13.7912, 9.3812, 49.7892)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247BE #BEB942
analogous
#4285BE #4247BE #7B42BE
triadic
#4247BE #BE4247 #47BE42
tetradic
#4247BE #BE4285 #BEB942 #42BE7B
square
#4247BE #BE4285 #BEB942 #42BE7B
split-complementary
#4247BE #BE7B42 #85BE42
monochromatic
#222563 #323691 #4247BE #7073CE #9DA0DD

Accessibility & contrast

On white

7.30
#4247BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4247BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247BE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247BE#FFFFFF#000000##FFFFFF
##4247BE1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4247be;
/* rgb */ color: rgb(66, 71, 190);
/* oklch */ color: oklch(46.9% 0.183 275.0);
Tailwind
colors: {
  custom: {
    50: '#857ad3',
    500: '#4247be',
    950: '#000000',
  },
}
SCSS
$custom: #4247be;
$custom-light: #857ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4247be",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 237.581,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.18288,
    "h": 275
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#4247BE
secondary
#CAC792
accent
#D34FD8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4247BE

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

Preview Lab → · Contrast checker → · Palette generator →

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