#4236CC#4236CC

#4236CC is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.219 H 276.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4236CC
RGBrgb(66, 54, 204)
HSLhsl(245, 60%, 51%)
HSVhsv(245, 74%, 80%)
CMYKcmyk(67.6%, 73.5%, 0%, 20%)
CIE-LABlab(34.30, 50.10, -75.33)
CIE-LCHlch(34.30, 90.47, 303.63°)
OKLaboklab(45.53% 0.0257 -0.2177)
OKLCHoklch(45.53% 0.219 276.7)
XYZxyz(14.4615, 8.1549, 57.9270)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236CC #C0CC36
analogous
#3675CC #4236CC #8D36CC
triadic
#4236CC #CC4236 #36CC42
tetradic
#4236CC #CC3675 #C0CC36 #36CC8D
square
#4236CC #CC3675 #C0CC36 #36CC8D
split-complementary
#4236CC #CC8D36 #75CC36
monochromatic
#221B6C #31289D #4236CC #7067D8 #9E98E5

Accessibility & contrast

On white

7.98
#4236CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4236CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236CC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236CC#FFFFFF#000000##FFFFFF
##4236CC1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#004AC9
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4236cc;
/* rgb */ color: rgb(66, 54, 204);
/* oklch */ color: oklch(45.5% 0.219 276.7);
Tailwind
colors: {
  custom: {
    50: '#896fdd',
    500: '#4236cc',
    950: '#000000',
  },
}
SCSS
$custom: #4236cc;
$custom-light: #896fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4236cc",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 244.8,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45529,
    "c": 0.21918,
    "h": 276.7
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#4236CC
secondary
#CBD08E
accent
#E345D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4236CC

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

Preview Lab → · Contrast checker → · Palette generator →

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