#4236A3#4236A3

#4236A3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.168 H 281.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4236A3
RGBrgb(66, 54, 163)
HSLhsl(247, 50%, 43%)
HSVhsv(247, 67%, 64%)
CMYKcmyk(59.5%, 66.9%, 0%, 36.1%)
CIE-LABlab(30.50, 36.99, -57.29)
CIE-LCHlch(30.50, 68.20, 302.85°)
OKLaboklab(41.65% 0.0327 -0.1649)
OKLCHoklch(41.65% 0.168 281.2)
XYZxyz(10.1747, 6.4402, 35.3502)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236A3 #97A336
analogous
#3660A3 #4236A3 #7936A3
triadic
#4236A3 #A34236 #36A342
tetradic
#4236A3 #A33660 #97A336 #36A379
square
#4236A3 #A33660 #97A336 #36A379
split-complementary
#4236A3 #A37936 #60A336
monochromatic
#1D1847 #2F2775 #4236A3 #5E51C5 #887FD5

Accessibility & contrast

On white

9.18
#4236A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4236A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4236A3#FFFFFF#000000##FFFFFF
##4236A31.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4236a3;
/* rgb */ color: rgb(66, 54, 163);
/* oklch */ color: oklch(41.6% 0.168 281.2);
Tailwind
colors: {
  custom: {
    50: '#816ebf',
    500: '#4236a3',
    950: '#000000',
  },
}
SCSS
$custom: #4236a3;
$custom-light: #816ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#4236a3",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 246.606,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41648,
    "c": 0.1681,
    "h": 281.2
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#4236A3
secondary
#B6BE77
accent
#DA4ECA
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4236A3

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

Preview Lab → · Contrast checker → · Palette generator →

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