#4236AA#4236AA

#4236AA is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.177 H 280.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4236AA
RGBrgb(66, 54, 170)
HSLhsl(246, 52%, 44%)
HSVhsv(246, 68%, 67%)
CMYKcmyk(61.2%, 68.2%, 0%, 33.3%)
CIE-LABlab(31.11, 39.26, -60.50)
CIE-LCHlch(31.11, 72.13, 302.98°)
OKLaboklab(42.28% 0.0317 -0.1743)
OKLCHoklch(42.28% 0.177 280.3)
XYZxyz(10.8193, 6.6981, 38.7451)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236AA #9EAA36
analogous
#3664AA #4236AA #7C36AA
triadic
#4236AA #AA4236 #36AA42
tetradic
#4236AA #AA3664 #9EAA36 #36AA7C
square
#4236AA #AA3664 #9EAA36 #36AA7C
split-complementary
#4236AA #AA7C36 #64AA36
monochromatic
#1E184D #30277C #4236AA #6054C9 #8C83D8

Accessibility & contrast

On white

8.98
#4236AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4236AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4236AA#FFFFFF#000000##FFFFFF
##4236AA1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4236aa;
/* rgb */ color: rgb(66, 54, 170);
/* oklch */ color: oklch(42.3% 0.177 280.3);
Tailwind
colors: {
  custom: {
    50: '#826ec4',
    500: '#4236aa',
    950: '#000000',
  },
}
SCSS
$custom: #4236aa;
$custom-light: #826ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#4236aa",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 246.207,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42279,
    "c": 0.17718,
    "h": 280.3
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4236AA

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

Preview Lab → · Contrast checker → · Palette generator →

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