#4236A4#4236A4

#4236A4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.169 H 281.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4236A4
RGBrgb(66, 54, 164)
HSLhsl(247, 50%, 43%)
HSVhsv(247, 67%, 64%)
CMYKcmyk(59.8%, 67.1%, 0%, 35.7%)
CIE-LABlab(30.58, 37.32, -57.75)
CIE-LCHlch(30.58, 68.76, 302.87°)
OKLaboklab(41.74% 0.0325 -0.1663)
OKLCHoklch(41.74% 0.169 281.1)
XYZxyz(10.2647, 6.4762, 35.8239)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236A4 #98A436
analogous
#3661A4 #4236A4 #7936A4
triadic
#4236A4 #A44236 #36A442
tetradic
#4236A4 #A43661 #98A436 #36A479
square
#4236A4 #A43661 #98A436 #36A479
split-complementary
#4236A4 #A47936 #61A436
monochromatic
#1D1848 #2F2776 #4236A4 #5E51C6 #897FD5

Accessibility & contrast

On white

9.15
#4236A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4236A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236A4
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236A4#FFFFFF#000000##FFFFFF
##4236A41.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4236a4;
/* rgb */ color: rgb(66, 54, 164);
/* oklch */ color: oklch(41.7% 0.169 281.1);
Tailwind
colors: {
  custom: {
    50: '#816ec0',
    500: '#4236a4',
    950: '#000000',
  },
}
SCSS
$custom: #4236a4;
$custom-light: #816ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#4236a4",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 246.545,
    "s": 50.459,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41737,
    "c": 0.16941,
    "h": 281.1
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#4236A4
secondary
#B7BE78
accent
#DA4ECB
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4236A4

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

Preview Lab → · Contrast checker → · Palette generator →

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