#4247CF#4247CF

#4247CF is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.4% C 0.205 H 274.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4247CF
RGBrgb(66, 71, 207)
HSLhsl(238, 59%, 54%)
HSVhsv(238, 68%, 81%)
CMYKcmyk(68.1%, 65.7%, 0%, 18.8%)
CIE-LABlab(38.14, 41.31, -70.76)
CIE-LCHlch(38.14, 81.93, 300.28°)
OKLaboklab(48.37% 0.0146 -0.2043)
OKLCHoklch(48.37% 0.205 274.1)
XYZxyz(15.7587, 10.1683, 60.1516)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247CF #CFCA42
analogous
#428DCF #4247CF #8342CF
triadic
#4247CF #CF4247 #47CF42
tetradic
#4247CF #CF428D #CFCA42 #42CF83
square
#4247CF #CF428D #CFCA42 #42CF83
split-complementary
#4247CF #CF8342 #8DCF42
monochromatic
#1F2278 #2B2FA9 #4247CF #7377DB #A4A6E8

Accessibility & contrast

On white

6.92
#4247CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4247CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4247CF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247CF#FFFFFF#000000##FFFFFF
##4247CF1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4247cf;
/* rgb */ color: rgb(66, 71, 207);
/* oklch */ color: oklch(48.4% 0.205 274.1);
Tailwind
colors: {
  custom: {
    50: '#887bdf',
    500: '#4247cf',
    950: '#000000',
  },
}
SCSS
$custom: #4247cf;
$custom-light: #887bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4247cf",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 237.872,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48371,
    "c": 0.20485,
    "h": 274.1
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#4247CF
secondary
#D5D298
accent
#DD45E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4247CF

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

Preview Lab → · Contrast checker → · Palette generator →

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