#4246CA#4246CA

#4246CA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.8% C 0.200 H 274.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4246CA
RGBrgb(66, 70, 202)
HSLhsl(238, 56%, 53%)
HSVhsv(238, 67%, 79%)
CMYKcmyk(67.3%, 65.3%, 0%, 20.8%)
CIE-LABlab(37.48, 40.23, -68.94)
CIE-LCHlch(37.48, 79.82, 300.27°)
OKLaboklab(47.76% 0.0157 -0.199)
OKLCHoklch(47.76% 0.2 274.5)
XYZxyz(15.0941, 9.8015, 56.9621)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246CA #CAC642
analogous
#428ACA #4246CA #8242CA
triadic
#4246CA #CA4246 #46CA42
tetradic
#4246CA #CA428A #CAC642 #42CA82
square
#4246CA #CA428A #CAC642 #42CA82
split-complementary
#4246CA #CA8242 #8ACA42
monochromatic
#202272 #2D31A2 #4246CA #7275D7 #A2A4E5

Accessibility & contrast

On white

7.09
#4246CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4246CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4246CA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4246CA#FFFFFF#000000##FFFFFF
##4246CA1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4246ca;
/* rgb */ color: rgb(66, 70, 202);
/* oklch */ color: oklch(47.8% 0.200 274.5);
Tailwind
colors: {
  custom: {
    50: '#877adb',
    500: '#4246ca',
    950: '#000000',
  },
}
SCSS
$custom: #4246ca;
$custom-light: #877adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4246ca",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 238.235,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.19963,
    "h": 274.5
  },
  "luminance": 0.09803
}

Semantic roles & 50–950 ramp

primary
#4246CA
secondary
#D1D096
accent
#DB48DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4246CA

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

Preview Lab → · Contrast checker → · Palette generator →

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