#4236CB#4236CB

#4236CB is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.218 H 276.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4236CB
RGBrgb(66, 54, 203)
HSLhsl(245, 59%, 50%)
HSVhsv(245, 73%, 80%)
CMYKcmyk(67.5%, 73.4%, 0%, 20.4%)
CIE-LABlab(34.20, 49.79, -74.91)
CIE-LCHlch(34.20, 89.95, 303.61°)
OKLaboklab(45.43% 0.0259 -0.2164)
OKLCHoklch(45.43% 0.218 276.8)
XYZxyz(14.3419, 8.1071, 57.2974)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236CB #BFCB36
analogous
#3675CB #4236CB #8C36CB
triadic
#4236CB #CB4236 #36CB42
tetradic
#4236CB #CB3675 #BFCB36 #36CB8C
square
#4236CB #CB3675 #BFCB36 #36CB8C
split-complementary
#4236CB #CB8C36 #75CB36
monochromatic
#221C6B #32289C #4236CB #7067D8 #9D97E4

Accessibility & contrast

On white

8.01
#4236CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4236CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236CB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236CB#FFFFFF#000000##FFFFFF
##4236CB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#004AC8
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4236cb;
/* rgb */ color: rgb(66, 54, 203);
/* oklch */ color: oklch(45.4% 0.218 276.8);
Tailwind
colors: {
  custom: {
    50: '#896fdc',
    500: '#4236cb',
    950: '#000000',
  },
}
SCSS
$custom: #4236cb;
$custom-light: #896fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4236cb",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 244.832,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4543,
    "c": 0.21799,
    "h": 276.8
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#4236CB
secondary
#CAD08D
accent
#E246D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4236CB

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

Preview Lab → · Contrast checker → · Palette generator →

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