#4236B5#4236B5

#4236B5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.3% C 0.191 H 279.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4236B5
RGBrgb(66, 54, 181)
HSLhsl(246, 54%, 46%)
HSVhsv(246, 70%, 71%)
CMYKcmyk(63.5%, 70.2%, 0%, 29%)
CIE-LABlab(32.11, 42.81, -65.43)
CIE-LCHlch(32.11, 78.19, 303.20°)
OKLaboklab(43.3% 0.03 -0.1888)
OKLCHoklch(43.3% 0.191 279)
XYZxyz(11.9038, 7.1318, 44.4564)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236B5 #A9B536
analogous
#3669B5 #4236B5 #8136B5
triadic
#4236B5 #B54236 #36B542
tetradic
#4236B5 #B53669 #A9B536 #36B581
square
#4236B5 #B53669 #A9B536 #36B581
split-complementary
#4236B5 #B58136 #69B536
monochromatic
#201A57 #312886 #4236B5 #655ACE #9189DC

Accessibility & contrast

On white

8.65
#4236B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4236B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236B5
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236B5#FFFFFF#000000##FFFFFF
##4236B51.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4236b5;
/* rgb */ color: rgb(66, 54, 181);
/* oklch */ color: oklch(43.3% 0.191 279.0);
Tailwind
colors: {
  custom: {
    50: '#846fcc',
    500: '#4236b5',
    950: '#000000',
  },
}
SCSS
$custom: #4236b5;
$custom-light: #846fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4236b5",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 245.669,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.433,
    "c": 0.19113,
    "h": 279
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#4236B5
secondary
#C0C681
accent
#DD4AD0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4236B5

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

Preview Lab → · Contrast checker → · Palette generator →

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