#4246CC#4246CC

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

Color values

HEX#4246CC
RGBrgb(66, 70, 204)
HSLhsl(238, 58%, 53%)
HSVhsv(238, 68%, 80%)
CMYKcmyk(67.6%, 65.7%, 0%, 20%)
CIE-LABlab(37.66, 40.90, -69.82)
CIE-LCHlch(37.66, 80.92, 300.37°)
OKLaboklab(47.94% 0.0156 -0.2016)
OKLCHoklch(47.94% 0.202 274.4)
XYZxyz(15.3324, 9.8968, 58.2173)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246CC #CCC842
analogous
#428BCC #4246CC #8342CC
triadic
#4246CC #CC4246 #46CC42
tetradic
#4246CC #CC428B #CCC842 #42CC83
square
#4246CC #CC428B #CCC842 #42CC83
split-complementary
#4246CC #CC8342 #8BCC42
monochromatic
#1F2274 #2C30A4 #4246CC #7275D9 #A2A4E6

Accessibility & contrast

On white

7.05
#4246CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4246CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4246CC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4246CC#FFFFFF#000000##FFFFFF
##4246CC1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4246cc;
/* rgb */ color: rgb(66, 70, 204);
/* oklch */ color: oklch(47.9% 0.202 274.4);
Tailwind
colors: {
  custom: {
    50: '#887add',
    500: '#4246cc',
    950: '#000000',
  },
}
SCSS
$custom: #4246cc;
$custom-light: #887add;
$custom-dark: #000000;
JSON
{
  "hex": "#4246cc",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 238.261,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47937,
    "c": 0.20218,
    "h": 274.4
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#4246CC
secondary
#D3D197
accent
#DC47E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4246CC

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

Preview Lab → · Contrast checker → · Palette generator →

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