#4246D7#4246D7

#4246D7 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.216 H 273.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4246D7
RGBrgb(66, 70, 215)
HSLhsl(238, 65%, 55%)
HSVhsv(238, 69%, 84%)
CMYKcmyk(69.3%, 67.4%, 0%, 15.7%)
CIE-LABlab(38.63, 44.58, -74.57)
CIE-LCHlch(38.63, 86.88, 300.87°)
OKLaboklab(48.94% 0.0144 -0.2155)
OKLCHoklch(48.94% 0.216 273.8)
XYZxyz(16.6986, 10.4433, 65.4125)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246D7 #D7D342
analogous
#4291D7 #4246D7 #8842D7
triadic
#4246D7 #D74246 #46D742
tetradic
#4246D7 #D74291 #D7D342 #42D788
square
#4246D7 #D74291 #D7D342 #42D788
split-complementary
#4246D7 #D78842 #91D742
monochromatic
#1C1E83 #262AB5 #4246D7 #7577E2 #A7A9EC

Accessibility & contrast

On white

6.80
#4246D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4246D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4246D7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4246D7#FFFFFF#000000##FFFFFF
##4246D71.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0054D4
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4246d7;
/* rgb */ color: rgb(66, 70, 215);
/* oklch */ color: oklch(48.9% 0.216 273.8);
Tailwind
colors: {
  custom: {
    50: '#8a7ae5',
    500: '#4246d7',
    950: '#000000',
  },
}
SCSS
$custom: #4246d7;
$custom-light: #8a7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4246d7",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 238.389,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48938,
    "c": 0.21598,
    "h": 273.8
  },
  "luminance": 0.10445
}

Semantic roles & 50–950 ramp

primary
#4246D7
secondary
#DAD89B
accent
#E440E8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4246D7

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

Preview Lab → · Contrast checker → · Palette generator →

#4246D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva