#4236BD#4236BD

#4236BD is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.1% C 0.201 H 278.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4236BD
RGBrgb(66, 54, 189)
HSLhsl(245, 56%, 48%)
HSVhsv(245, 71%, 74%)
CMYKcmyk(65.1%, 71.4%, 0%, 25.9%)
CIE-LABlab(32.85, 45.37, -68.94)
CIE-LCHlch(32.85, 82.52, 303.35°)
OKLaboklab(44.06% 0.0286 -0.199)
OKLCHoklch(44.06% 0.201 278.2)
XYZxyz(12.7483, 7.4697, 48.9042)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236BD #B1BD36
analogous
#366EBD #4236BD #8536BD
triadic
#4236BD #BD4236 #36BD42
tetradic
#4236BD #BD366E #B1BD36 #36BD85
square
#4236BD #BD366E #B1BD36 #36BD85
split-complementary
#4236BD #BD8536 #6EBD36
monochromatic
#211B5E #31288D #4236BD #695FD1 #968FDF

Accessibility & contrast

On white

8.42
#4236BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4236BD#FFFFFF#000000##FFFFFF
##4236BD1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4236bd;
/* rgb */ color: rgb(66, 54, 189);
/* oklch */ color: oklch(44.1% 0.201 278.2);
Tailwind
colors: {
  custom: {
    50: '#866fd2',
    500: '#4236bd',
    950: '#000000',
  },
}
SCSS
$custom: #4236bd;
$custom-light: #866fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4236bd",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 245.333,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44061,
    "c": 0.20105,
    "h": 278.2
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#4236BD
secondary
#C3C985
accent
#DF49D2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4236BD

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

Preview Lab → · Contrast checker → · Palette generator →

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