#4247F0#4247F0

#4247F0 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.245 H 272.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4247F0
RGBrgb(66, 71, 240)
HSLhsl(238, 85%, 60%)
HSVhsv(238, 73%, 94%)
CMYKcmyk(72.5%, 70.4%, 0%, 5.9%)
CIE-LABlab(41.14, 52.19, -84.66)
CIE-LCHlch(41.14, 99.46, 301.65°)
OKLaboklab(51.45% 0.0107 -0.2449)
OKLCHoklch(51.45% 0.245 272.5)
XYZxyz(20.2229, 11.9539, 83.6627)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247F0 #F0EB42
analogous
#429EF0 #4247F0 #9442F0
triadic
#4247F0 #F04247 #47F042
tetradic
#4247F0 #F0429E #F0EB42 #42F094
square
#4247F0 #F0429E #F0EB42 #42F094
split-complementary
#4247F0 #F09442 #9EF042
monochromatic
#0E12AA #1218E3 #4247F0 #7B7EF4 #B3B5F9

Accessibility & contrast

On white

6.19
#4247F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4247F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4247F0
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247F0#FFFFFF#000000##FFFFFF
##4247F01.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F5
Deuteranopia (green-blind)
#0059ED
Tritanopia (blue-blind)
#007797
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4247f0;
/* rgb */ color: rgb(66, 71, 240);
/* oklch */ color: oklch(51.4% 0.245 272.5);
Tailwind
colors: {
  custom: {
    50: '#8f7cf6',
    500: '#4247f0',
    950: '#000000',
  },
}
SCSS
$custom: #4247f0;
$custom-light: #8f7cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4247f0",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 238.276,
    "s": 85.294,
    "l": 60
  },
  "oklch": {
    "l": 0.51446,
    "c": 0.24518,
    "h": 272.5
  },
  "luminance": 0.11956
}

Semantic roles & 50–950 ramp

primary
#4247F0
secondary
#E8E6A5
accent
#F62CFC
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4247F0

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

Preview Lab → · Contrast checker → · Palette generator →

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