#4236AE#4236AE

#4236AE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.182 H 279.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#4236AE
RGBrgb(66, 54, 174)
HSLhsl(246, 53%, 45%)
HSVhsv(246, 69%, 68%)
CMYKcmyk(62.1%, 69%, 0%, 31.8%)
CIE-LABlab(31.47, 40.56, -62.31)
CIE-LCHlch(31.47, 74.35, 303.06°)
OKLaboklab(42.65% 0.0311 -0.1796)
OKLCHoklch(42.65% 0.182 279.8)
XYZxyz(11.2035, 6.8517, 40.7683)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236AE #A2AE36
analogous
#3666AE #4236AE #7E36AE
triadic
#4236AE #AE4236 #36AE42
tetradic
#4236AE #AE3666 #A2AE36 #36AE7E
square
#4236AE #AE3666 #A2AE36 #36AE7E
split-complementary
#4236AE #AE7E36 #66AE36
monochromatic
#1F1951 #30287F #4236AE #6256CB #8E85D9

Accessibility & contrast

On white

8.86
#4236AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4236AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236AE
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236AE#FFFFFF#000000##FFFFFF
##4236AE1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4236ae;
/* rgb */ color: rgb(66, 54, 174);
/* oklch */ color: oklch(42.6% 0.182 279.8);
Tailwind
colors: {
  custom: {
    50: '#836ec7',
    500: '#4236ae',
    950: '#000000',
  },
}
SCSS
$custom: #4236ae;
$custom-light: #836ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4236ae",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 246,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42646,
    "c": 0.1823,
    "h": 279.8
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#4236AE
secondary
#BCC37D
accent
#DC4CCE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4236AE

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

Preview Lab → · Contrast checker → · Palette generator →

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