#4236CA#4236CA

#4236CA is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.217 H 276.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4236CA
RGBrgb(66, 54, 202)
HSLhsl(245, 58%, 50%)
HSVhsv(245, 73%, 79%)
CMYKcmyk(67.3%, 73.3%, 0%, 20.8%)
CIE-LABlab(34.11, 49.48, -74.49)
CIE-LCHlch(34.11, 89.42, 303.59°)
OKLaboklab(45.33% 0.0261 -0.2152)
OKLCHoklch(45.33% 0.217 276.9)
XYZxyz(14.2231, 8.0596, 56.6718)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236CA #BECA36
analogous
#3674CA #4236CA #8C36CA
triadic
#4236CA #CA4236 #36CA42
tetradic
#4236CA #CA3674 #BECA36 #36CA8C
square
#4236CA #CA3674 #BECA36 #36CA8C
split-complementary
#4236CA #CA8C36 #74CA36
monochromatic
#221C6A #32299A #4236CA #7066D7 #9D97E4

Accessibility & contrast

On white

8.04
#4236CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4236CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236CA
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236CA#FFFFFF#000000##FFFFFF
##4236CA1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CE
Deuteranopia (green-blind)
#004AC7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4236ca;
/* rgb */ color: rgb(66, 54, 202);
/* oklch */ color: oklch(45.3% 0.217 276.9);
Tailwind
colors: {
  custom: {
    50: '#896fdb',
    500: '#4236ca',
    950: '#000000',
  },
}
SCSS
$custom: #4236ca;
$custom-light: #896fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4236ca",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 244.865,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45331,
    "c": 0.21679,
    "h": 276.9
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#4236CA
secondary
#CACF8D
accent
#E146D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4236CA

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

Preview Lab → · Contrast checker → · Palette generator →

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