#4236A5#4236A5

#4236A5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.171 H 280.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4236A5
RGBrgb(66, 54, 165)
HSLhsl(246, 51%, 43%)
HSVhsv(246, 67%, 65%)
CMYKcmyk(60%, 67.3%, 0%, 35.3%)
CIE-LABlab(30.67, 37.64, -58.22)
CIE-LCHlch(30.67, 69.32, 302.89°)
OKLaboklab(41.83% 0.0324 -0.1676)
OKLCHoklch(41.83% 0.171 280.9)
XYZxyz(10.3553, 6.5125, 36.3014)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236A5 #99A536
analogous
#3662A5 #4236A5 #7936A5
triadic
#4236A5 #A54236 #36A542
tetradic
#4236A5 #A53662 #99A536 #36A579
square
#4236A5 #A53662 #99A536 #36A579
split-complementary
#4236A5 #A57936 #62A536
monochromatic
#1D1849 #302777 #4236A5 #5E52C6 #8980D5

Accessibility & contrast

On white

9.12
#4236A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4236A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236A5
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236A5#FFFFFF#000000##FFFFFF
##4236A51.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4236a5;
/* rgb */ color: rgb(66, 54, 165);
/* oklch */ color: oklch(41.8% 0.171 280.9);
Tailwind
colors: {
  custom: {
    50: '#816ec1',
    500: '#4236a5',
    950: '#000000',
  },
}
SCSS
$custom: #4236a5;
$custom-light: #816ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#4236a5",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 246.486,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.17071,
    "h": 280.9
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#4236A5
secondary
#B7BF78
accent
#DA4ECB
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4236A5

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

Preview Lab → · Contrast checker → · Palette generator →

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