#4246D8#4246D8

#4246D8 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.0% C 0.217 H 273.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4246D8
RGBrgb(66, 70, 216)
HSLhsl(238, 66%, 55%)
HSVhsv(238, 69%, 85%)
CMYKcmyk(69.4%, 67.6%, 0%, 15.3%)
CIE-LABlab(38.72, 44.91, -75.00)
CIE-LCHlch(38.72, 87.42, 300.91°)
OKLaboklab(49.03% 0.0143 -0.2167)
OKLCHoklch(49.03% 0.217 273.8)
XYZxyz(16.8275, 10.4948, 66.0913)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246D8 #D8D442
analogous
#4291D8 #4246D8 #8942D8
triadic
#4246D8 #D84246 #46D842
tetradic
#4246D8 #D84291 #D8D442 #42D889
square
#4246D8 #D84291 #D8D442 #42D889
split-complementary
#4246D8 #D88942 #91D842
monochromatic
#1B1E84 #262AB7 #4246D8 #7578E2 #A7A9ED

Accessibility & contrast

On white

6.78
#4246D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4246D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4246D8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4246D8#FFFFFF#000000##FFFFFF
##4246D81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4246d8;
/* rgb */ color: rgb(66, 70, 216);
/* oklch */ color: oklch(49.0% 0.217 273.8);
Tailwind
colors: {
  custom: {
    50: '#8a7ae5',
    500: '#4246d8',
    950: '#000000',
  },
}
SCSS
$custom: #4246d8;
$custom-light: #8a7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4246d8",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 238.4,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.21722,
    "h": 273.8
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#4246D8
secondary
#DAD99C
accent
#E43FE9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4246D8

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

Preview Lab → · Contrast checker → · Palette generator →

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