#4236C4#4236C4

#4236C4 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.210 H 277.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4236C4
RGBrgb(66, 54, 196)
HSLhsl(245, 57%, 49%)
HSVhsv(245, 72%, 77%)
CMYKcmyk(66.3%, 72.4%, 0%, 23.1%)
CIE-LABlab(33.52, 47.59, -71.95)
CIE-LCHlch(33.52, 86.26, 303.48°)
OKLaboklab(44.74% 0.0273 -0.2078)
OKLCHoklch(44.74% 0.21 277.5)
XYZxyz(13.5265, 7.7809, 53.0029)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236C4 #B8C436
analogous
#3671C4 #4236C4 #8936C4
triadic
#4236C4 #C44236 #36C442
tetradic
#4236C4 #C43671 #B8C436 #36C489
square
#4236C4 #C43671 #B8C436 #36C489
split-complementary
#4236C4 #C48936 #71C436
monochromatic
#221C64 #322994 #4236C4 #6D63D4 #9A93E1

Accessibility & contrast

On white

8.21
#4236C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4236C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236C4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236C4#FFFFFF#000000##FFFFFF
##4236C41.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0049C1
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4236c4;
/* rgb */ color: rgb(66, 54, 196);
/* oklch */ color: oklch(44.7% 0.210 277.5);
Tailwind
colors: {
  custom: {
    50: '#876fd7',
    500: '#4236c4',
    950: '#000000',
  },
}
SCSS
$custom: #4236c4;
$custom-light: #876fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4236c4",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 245.07,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4474,
    "c": 0.20958,
    "h": 277.5
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#4236C4
secondary
#C7CC89
accent
#E048D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4236C4

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

Preview Lab → · Contrast checker → · Palette generator →

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