#4246B2#4246B2

#4246B2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.168 H 275.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4246B2
RGBrgb(66, 70, 178)
HSLhsl(238, 46%, 48%)
HSVhsv(238, 63%, 70%)
CMYKcmyk(62.9%, 60.7%, 0%, 30.2%)
CIE-LABlab(35.50, 32.08, -58.10)
CIE-LCHlch(35.50, 66.37, 298.90°)
OKLaboklab(45.69% 0.0172 -0.1672)
OKLCHoklch(45.69% 0.168 275.9)
XYZxyz(12.4702, 8.7519, 43.1430)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4246B2 #B2AE42
analogous
#427EB2 #4246B2 #7642B2
triadic
#4246B2 #B24246 #46B242
tetradic
#4246B2 #B2427E #B2AE42 #42B276
square
#4246B2 #B2427E #B2AE42 #42B276
split-complementary
#4246B2 #B27642 #7EB242
monochromatic
#212359 #313485 #4246B2 #6A6DC8 #9699D8

Accessibility & contrast

On white

7.63
#4246B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4246B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4246B2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4246B2#FFFFFF#000000##FFFFFF
##4246B21.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4246b2;
/* rgb */ color: rgb(66, 70, 178);
/* oklch */ color: oklch(45.7% 0.168 275.9);
Tailwind
colors: {
  custom: {
    50: '#8279ca',
    500: '#4246b2',
    950: '#000000',
  },
}
SCSS
$custom: #4246b2;
$custom-light: #8279ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4246b2",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 237.857,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45691,
    "c": 0.16808,
    "h": 275.9
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#4246B2
secondary
#C4C28C
accent
#D152D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4246B2

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

Preview Lab → · Contrast checker → · Palette generator →

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