#4236A8#4236A8

#4236A8 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.175 H 280.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4236A8
RGBrgb(66, 54, 168)
HSLhsl(246, 51%, 44%)
HSVhsv(246, 68%, 66%)
CMYKcmyk(60.7%, 67.9%, 0%, 34.1%)
CIE-LABlab(30.93, 38.61, -59.59)
CIE-LCHlch(30.93, 71.01, 302.94°)
OKLaboklab(42.1% 0.032 -0.1716)
OKLCHoklch(42.1% 0.175 280.6)
XYZxyz(10.6316, 6.6230, 37.7563)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236A8 #9CA836
analogous
#3663A8 #4236A8 #7B36A8
triadic
#4236A8 #A84236 #36A842
tetradic
#4236A8 #A83663 #9CA836 #36A87B
square
#4236A8 #A83663 #9CA836 #36A87B
split-complementary
#4236A8 #A87B36 #63A836
monochromatic
#1E184B #30277A #4236A8 #6053C8 #8B82D7

Accessibility & contrast

On white

9.03
#4236A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4236A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236A8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236A8#FFFFFF#000000##FFFFFF
##4236A81.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4236a8;
/* rgb */ color: rgb(66, 54, 168);
/* oklch */ color: oklch(42.1% 0.175 280.6);
Tailwind
colors: {
  custom: {
    50: '#826ec3',
    500: '#4236a8',
    950: '#000000',
  },
}
SCSS
$custom: #4236a8;
$custom-light: #826ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#4236a8",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 246.316,
    "s": 51.351,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42097,
    "c": 0.17461,
    "h": 280.6
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#4236A8
secondary
#B9C07A
accent
#DB4DCC
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4236A8

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

Preview Lab → · Contrast checker → · Palette generator →

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