#4247B2#4247B2

#4247B2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.167 H 275.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4247B2
RGBrgb(66, 71, 178)
HSLhsl(237, 46%, 48%)
HSVhsv(237, 63%, 70%)
CMYKcmyk(62.9%, 60.1%, 0%, 30.2%)
CIE-LABlab(35.75, 31.44, -57.70)
CIE-LCHlch(35.75, 65.71, 298.59°)
OKLaboklab(45.87% 0.0163 -0.166)
OKLCHoklch(45.87% 0.167 275.6)
XYZxyz(12.5333, 8.8781, 43.1640)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247B2 #B2AD42
analogous
#427FB2 #4247B2 #7542B2
triadic
#4247B2 #B24247 #47B242
tetradic
#4247B2 #B2427F #B2AD42 #42B275
square
#4247B2 #B2427F #B2AD42 #42B275
split-complementary
#4247B2 #B27542 #7FB242
monochromatic
#212359 #313585 #4247B2 #6A6EC8 #9699D8

Accessibility & contrast

On white

7.57
#4247B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4247B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247B2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247B2#FFFFFF#000000##FFFFFF
##4247B21.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4247b2;
/* rgb */ color: rgb(66, 71, 178);
/* oklch */ color: oklch(45.9% 0.167 275.6);
Tailwind
colors: {
  custom: {
    50: '#827aca',
    500: '#4247b2',
    950: '#000000',
  },
}
SCSS
$custom: #4247b2;
$custom-light: #827aca;
$custom-dark: #000000;
JSON
{
  "hex": "#4247b2",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 237.321,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.16681,
    "h": 275.6
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#4247B2
secondary
#C4C18C
accent
#D052D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4247B2

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

Preview Lab → · Contrast checker → · Palette generator →

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