#4236AD#4236AD

#4236AD is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.181 H 280.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4236AD
RGBrgb(66, 54, 173)
HSLhsl(246, 52%, 45%)
HSVhsv(246, 69%, 68%)
CMYKcmyk(61.8%, 68.8%, 0%, 32.2%)
CIE-LABlab(31.38, 40.23, -61.86)
CIE-LCHlch(31.38, 73.79, 303.04°)
OKLaboklab(42.55% 0.0313 -0.1783)
OKLCHoklch(42.55% 0.181 280)
XYZxyz(11.1064, 6.8129, 40.2568)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236AD #A1AD36
analogous
#3666AD #4236AD #7D36AD
triadic
#4236AD #AD4236 #36AD42
tetradic
#4236AD #AD3666 #A1AD36 #36AD7D
square
#4236AD #AD3666 #A1AD36 #36AD7D
split-complementary
#4236AD #AD7D36 #66AD36
monochromatic
#1E1950 #30277E #4236AD #6256CA #8D85D9

Accessibility & contrast

On white

8.89
#4236AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4236AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236AD
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236AD#FFFFFF#000000##FFFFFF
##4236AD1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4236ad;
/* rgb */ color: rgb(66, 54, 173);
/* oklch */ color: oklch(42.6% 0.181 280.0);
Tailwind
colors: {
  custom: {
    50: '#836ec6',
    500: '#4236ad',
    950: '#000000',
  },
}
SCSS
$custom: #4236ad;
$custom-light: #836ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#4236ad",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 246.05,
    "s": 52.423,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42554,
    "c": 0.18102,
    "h": 280
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#4236AD
secondary
#BBC27C
accent
#DC4CCD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4236AD

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

Preview Lab → · Contrast checker → · Palette generator →

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