#4247B7#4247B7

#4247B7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.174 H 275.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4247B7
RGBrgb(66, 71, 183)
HSLhsl(237, 47%, 49%)
HSVhsv(237, 64%, 72%)
CMYKcmyk(63.9%, 61.2%, 0%, 28.2%)
CIE-LABlab(36.14, 33.16, -60.01)
CIE-LCHlch(36.14, 68.56, 298.92°)
OKLaboklab(46.29% 0.0162 -0.1728)
OKLCHoklch(46.29% 0.174 275.3)
XYZxyz(13.0444, 9.0825, 45.8563)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247B7 #B7B242
analogous
#4282B7 #4247B7 #7842B7
triadic
#4247B7 #B74247 #47B742
tetradic
#4247B7 #B74282 #B7B242 #42B778
square
#4247B7 #B74282 #B7B242 #42B778
split-complementary
#4247B7 #B77842 #82B742
monochromatic
#22245D #32368A #4247B7 #6C70CA #999CDA

Accessibility & contrast

On white

7.46
#4247B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4247B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247B7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247B7#FFFFFF#000000##FFFFFF
##4247B71.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4247b7;
/* rgb */ color: rgb(66, 71, 183);
/* oklch */ color: oklch(46.3% 0.174 275.3);
Tailwind
colors: {
  custom: {
    50: '#837acd',
    500: '#4247b7',
    950: '#000000',
  },
}
SCSS
$custom: #4247b7;
$custom-light: #837acd;
$custom-dark: #000000;
JSON
{
  "hex": "#4247b7",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 237.436,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.17356,
    "h": 275.3
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#4247B7
secondary
#C6C48F
accent
#D151D7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4247B7

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

Preview Lab → · Contrast checker → · Palette generator →

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