#4246CD#4246CD

#4246CD is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.0% C 0.203 H 274.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4246CD
RGBrgb(66, 70, 205)
HSLhsl(238, 58%, 53%)
HSVhsv(238, 68%, 80%)
CMYKcmyk(67.8%, 65.9%, 0%, 19.6%)
CIE-LABlab(37.74, 41.24, -70.25)
CIE-LCHlch(37.74, 81.46, 300.41°)
OKLaboklab(48.03% 0.0155 -0.2029)
OKLCHoklch(48.03% 0.203 274.4)
XYZxyz(15.4527, 9.9449, 58.8510)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246CD #CDC942
analogous
#428CCD #4246CD #8342CD
triadic
#4246CD #CD4246 #46CD42
tetradic
#4246CD #CD428C #CDC942 #42CD83
square
#4246CD #CD428C #CDC942 #42CD83
split-complementary
#4246CD #CD8342 #8CCD42
monochromatic
#1F2276 #2C2FA6 #4246CD #7275DA #A3A5E7

Accessibility & contrast

On white

7.03
#4246CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4246CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4246CD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4246CD#FFFFFF#000000##FFFFFF
##4246CD1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4246cd;
/* rgb */ color: rgb(66, 70, 205);
/* oklch */ color: oklch(48.0% 0.203 274.4);
Tailwind
colors: {
  custom: {
    50: '#887add',
    500: '#4246cd',
    950: '#000000',
  },
}
SCSS
$custom: #4246cd;
$custom-light: #887add;
$custom-dark: #000000;
JSON
{
  "hex": "#4246cd",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 238.273,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.20345,
    "h": 274.4
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#4246CD
secondary
#D3D297
accent
#DD46E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4246CD

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

Preview Lab → · Contrast checker → · Palette generator →

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