#4247A5#4247A5

#4247A5 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.149 H 276.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4247A5
RGBrgb(66, 71, 165)
HSLhsl(237, 43%, 45%)
HSVhsv(237, 60%, 65%)
CMYKcmyk(60%, 57%, 0%, 35.3%)
CIE-LABlab(34.76, 26.97, -51.55)
CIE-LCHlch(34.76, 58.18, 297.62°)
OKLaboklab(44.83% 0.0163 -0.1479)
OKLCHoklch(44.83% 0.149 276.3)
XYZxyz(11.2893, 8.3805, 36.6127)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247A5 #A5A042
analogous
#4278A5 #4247A5 #6F42A5
triadic
#4247A5 #A54247 #47A542
tetradic
#4247A5 #A54278 #A5A042 #42A56F
square
#4247A5 #A54278 #A5A042 #42A56F
split-complementary
#4247A5 #A56F42 #78A542
monochromatic
#1F214E #313479 #4247A5 #6368C1 #8F93D2

Accessibility & contrast

On white

7.85
#4247A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4247A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247A5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247A5#FFFFFF#000000##FFFFFF
##4247A51.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4247a5;
/* rgb */ color: rgb(66, 71, 165);
/* oklch */ color: oklch(44.8% 0.149 276.3);
Tailwind
colors: {
  custom: {
    50: '#807ac0',
    500: '#4247a5',
    950: '#000000',
  },
}
SCSS
$custom: #4247a5;
$custom-light: #807ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#4247a5",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 236.97,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44832,
    "c": 0.14884,
    "h": 276.3
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#4247A5
secondary
#BDBB85
accent
#CC55D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4247A5

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

Preview Lab → · Contrast checker → · Palette generator →

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