#4247B5#4247B5

#4247B5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.171 H 275.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4247B5
RGBrgb(66, 71, 181)
HSLhsl(237, 47%, 48%)
HSVhsv(237, 64%, 71%)
CMYKcmyk(63.5%, 60.8%, 0%, 29%)
CIE-LABlab(35.98, 32.47, -59.09)
CIE-LCHlch(35.98, 67.42, 298.79°)
OKLaboklab(46.12% 0.0162 -0.1701)
OKLCHoklch(46.12% 0.171 275.4)
XYZxyz(12.8378, 8.9999, 44.7677)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247B5 #B5B042
analogous
#4280B5 #4247B5 #7642B5
triadic
#4247B5 #B54247 #47B542
tetradic
#4247B5 #B54280 #B5B042 #42B576
square
#4247B5 #B54280 #B5B042 #42B576
split-complementary
#4247B5 #B57642 #80B542
monochromatic
#21245B #323588 #4247B5 #6B6FC9 #989BD9

Accessibility & contrast

On white

7.50
#4247B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4247B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247B5
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247B5#FFFFFF#000000##FFFFFF
##4247B51.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4247b5;
/* rgb */ color: rgb(66, 71, 181);
/* oklch */ color: oklch(46.1% 0.171 275.4);
Tailwind
colors: {
  custom: {
    50: '#837acc',
    500: '#4247b5',
    950: '#000000',
  },
}
SCSS
$custom: #4247b5;
$custom-light: #837acc;
$custom-dark: #000000;
JSON
{
  "hex": "#4247b5",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 237.391,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46121,
    "c": 0.17087,
    "h": 275.4
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#4247B5
secondary
#C5C38E
accent
#D052D6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4247B5

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

Preview Lab → · Contrast checker → · Palette generator →

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