#4246C5#4246C5

#4246C5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.193 H 274.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4246C5
RGBrgb(66, 70, 197)
HSLhsl(238, 53%, 52%)
HSVhsv(238, 66%, 77%)
CMYKcmyk(66.5%, 64.5%, 0%, 22.7%)
CIE-LABlab(37.06, 38.54, -66.73)
CIE-LCHlch(37.06, 77.06, 300.01°)
OKLaboklab(47.32% 0.0162 -0.1925)
OKLCHoklch(47.32% 0.193 274.8)
XYZxyz(14.5116, 9.5685, 53.8947)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246C5 #C5C142
analogous
#4288C5 #4246C5 #8042C5
triadic
#4246C5 #C54246 #46C542
tetradic
#4246C5 #C54288 #C5C142 #42C580
square
#4246C5 #C54288 #C5C142 #42C580
split-complementary
#4246C5 #C58042 #88C542
monochromatic
#21236C #2F339A #4246C5 #7174D3 #A0A2E2

Accessibility & contrast

On white

7.21
#4246C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4246C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4246C5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4246C5#FFFFFF#000000##FFFFFF
##4246C51.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4246c5;
/* rgb */ color: rgb(66, 70, 197);
/* oklch */ color: oklch(47.3% 0.193 274.8);
Tailwind
colors: {
  custom: {
    50: '#867ad8',
    500: '#4246c5',
    950: '#000000',
  },
}
SCSS
$custom: #4246c5;
$custom-light: #867ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#4246c5",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 238.168,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.19321,
    "h": 274.8
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#4246C5
secondary
#CECC95
accent
#D84BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4246C5

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

Preview Lab → · Contrast checker → · Palette generator →

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