#4236AB#4236AB

#4236AB is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.178 H 280.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4236AB
RGBrgb(66, 54, 171)
HSLhsl(246, 52%, 44%)
HSVhsv(246, 68%, 67%)
CMYKcmyk(61.4%, 68.4%, 0%, 32.9%)
CIE-LABlab(31.20, 39.59, -60.96)
CIE-LCHlch(31.20, 72.68, 303.00°)
OKLaboklab(42.37% 0.0316 -0.1756)
OKLCHoklch(42.37% 0.178 280.2)
XYZxyz(10.9143, 6.7361, 39.2452)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236AB #9FAB36
analogous
#3665AB #4236AB #7D36AB
triadic
#4236AB #AB4236 #36AB42
tetradic
#4236AB #AB3665 #9FAB36 #36AB7D
square
#4236AB #AB3665 #9FAB36 #36AB7D
split-complementary
#4236AB #AB7D36 #65AB36
monochromatic
#1E194E #30277C #4236AB #6155C9 #8C83D8

Accessibility & contrast

On white

8.95
#4236AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4236AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236AB
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236AB#FFFFFF#000000##FFFFFF
##4236AB1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4236ab;
/* rgb */ color: rgb(66, 54, 171);
/* oklch */ color: oklch(42.4% 0.178 280.2);
Tailwind
colors: {
  custom: {
    50: '#826ec5',
    500: '#4236ab',
    950: '#000000',
  },
}
SCSS
$custom: #4236ab;
$custom-light: #826ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#4236ab",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 246.154,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42371,
    "c": 0.17846,
    "h": 280.2
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#4236AB
secondary
#BAC27B
accent
#DB4CCD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4236AB

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

Preview Lab → · Contrast checker → · Palette generator →

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