#4247C3#4247C3

#4247C3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.189 H 274.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4247C3
RGBrgb(66, 71, 195)
HSLhsl(238, 52%, 51%)
HSVhsv(238, 66%, 76%)
CMYKcmyk(66.2%, 63.6%, 0%, 23.5%)
CIE-LABlab(37.12, 37.25, -65.46)
CIE-LCHlch(37.12, 75.31, 299.64°)
OKLaboklab(47.31% 0.0155 -0.1888)
OKLCHoklch(47.31% 0.189 274.7)
XYZxyz(14.3471, 9.6036, 52.7168)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247C3 #C3BE42
analogous
#4287C3 #4247C3 #7D42C3
triadic
#4247C3 #C34247 #47C342
tetradic
#4247C3 #C34287 #C3BE42 #42C37D
square
#4247C3 #C34287 #C3BE42 #42C37D
split-complementary
#4247C3 #C37D42 #87C342
monochromatic
#212469 #303498 #4247C3 #7074D2 #9FA1E0

Accessibility & contrast

On white

7.19
#4247C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4247C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247C3
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247C3#FFFFFF#000000##FFFFFF
##4247C31.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4247c3;
/* rgb */ color: rgb(66, 71, 195);
/* oklch */ color: oklch(47.3% 0.189 274.7);
Tailwind
colors: {
  custom: {
    50: '#867ad6',
    500: '#4247c3',
    950: '#000000',
  },
}
SCSS
$custom: #4247c3;
$custom-light: #867ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4247c3",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 195
  },
  "hsl": {
    "h": 237.674,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47311,
    "c": 0.18943,
    "h": 274.7
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#4247C3
secondary
#CDCB94
accent
#D64DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4247C3

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

Preview Lab → · Contrast checker → · Palette generator →

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