#4236AC#4236AC

#4236AC is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.180 H 280.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4236AC
RGBrgb(66, 54, 172)
HSLhsl(246, 52%, 44%)
HSVhsv(246, 69%, 67%)
CMYKcmyk(61.6%, 68.6%, 0%, 32.5%)
CIE-LABlab(31.29, 39.91, -61.41)
CIE-LCHlch(31.29, 73.24, 303.02°)
OKLaboklab(42.46% 0.0314 -0.177)
OKLCHoklch(42.46% 0.18 280.1)
XYZxyz(11.0100, 6.7743, 39.7491)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236AC #A0AC36
analogous
#3665AC #4236AC #7D36AC
triadic
#4236AC #AC4236 #36AC42
tetradic
#4236AC #AC3665 #A0AC36 #36AC7D
square
#4236AC #AC3665 #A0AC36 #36AC7D
split-complementary
#4236AC #AC7D36 #65AC36
monochromatic
#1E194F #30277D #4236AC #6155CA #8D84D8

Accessibility & contrast

On white

8.92
#4236AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4236AC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236AC#FFFFFF#000000##FFFFFF
##4236AC1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4236ac;
/* rgb */ color: rgb(66, 54, 172);
/* oklch */ color: oklch(42.5% 0.180 280.1);
Tailwind
colors: {
  custom: {
    50: '#836ec6',
    500: '#4236ac',
    950: '#000000',
  },
}
SCSS
$custom: #4236ac;
$custom-light: #836ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#4236ac",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 246.102,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42462,
    "c": 0.17975,
    "h": 280.1
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4236AC

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

Preview Lab → · Contrast checker → · Palette generator →

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