#4236BC#4236BC

#4236BC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 44.0% C 0.200 H 278.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4236BC
RGBrgb(66, 54, 188)
HSLhsl(245, 55%, 47%)
HSVhsv(245, 71%, 74%)
CMYKcmyk(64.9%, 71.3%, 0%, 26.3%)
CIE-LABlab(32.76, 45.05, -68.50)
CIE-LCHlch(32.76, 81.99, 303.33°)
OKLaboklab(43.97% 0.0288 -0.1977)
OKLCHoklch(43.97% 0.2 278.3)
XYZxyz(12.6401, 7.4264, 48.3345)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236BC #B0BC36
analogous
#366DBC #4236BC #8536BC
triadic
#4236BC #BC4236 #36BC42
tetradic
#4236BC #BC366D #B0BC36 #36BC85
square
#4236BC #BC366D #B0BC36 #36BC85
split-complementary
#4236BC #BC8536 #6DBC36
monochromatic
#211B5D #31288C #4236BC #695ED1 #958EDF

Accessibility & contrast

On white

8.45
#4236BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4236BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4236BC#FFFFFF#000000##FFFFFF
##4236BC1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4236bc;
/* rgb */ color: rgb(66, 54, 188);
/* oklch */ color: oklch(44.0% 0.200 278.3);
Tailwind
colors: {
  custom: {
    50: '#866fd1',
    500: '#4236bc',
    950: '#000000',
  },
}
SCSS
$custom: #4236bc;
$custom-light: #866fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4236bc",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 245.373,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43965,
    "c": 0.19981,
    "h": 278.3
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#4236BC
secondary
#C3C985
accent
#DF49D1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4236BC

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

Preview Lab → · Contrast checker → · Palette generator →

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