#4236BF#4236BF

#4236BF is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.203 H 278.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4236BF
RGBrgb(66, 54, 191)
HSLhsl(245, 56%, 48%)
HSVhsv(245, 72%, 75%)
CMYKcmyk(65.4%, 71.7%, 0%, 25.1%)
CIE-LABlab(33.04, 46.00, -69.80)
CIE-LCHlch(33.04, 83.60, 303.39°)
OKLaboklab(44.25% 0.0283 -0.2015)
OKLCHoklch(44.25% 0.204 278)
XYZxyz(12.9669, 7.5571, 50.0554)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236BF #B3BF36
analogous
#366FBF #4236BF #8636BF
triadic
#4236BF #BF4236 #36BF42
tetradic
#4236BF #BF366F #B3BF36 #36BF86
square
#4236BF #BF366F #B3BF36 #36BF86
split-complementary
#4236BF #BF8636 #6FBF36
monochromatic
#211B60 #32298F #4236BF #6A60D2 #9790E0

Accessibility & contrast

On white

8.36
#4236BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4236BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4236BF#FFFFFF#000000##FFFFFF
##4236BF1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0048BC
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4236bf;
/* rgb */ color: rgb(66, 54, 191);
/* oklch */ color: oklch(44.3% 0.203 278.0);
Tailwind
colors: {
  custom: {
    50: '#866fd4',
    500: '#4236bf',
    950: '#000000',
  },
}
SCSS
$custom: #4236bf;
$custom-light: #866fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4236bf",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 245.255,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.2035,
    "h": 278
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4236BF

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

Preview Lab → · Contrast checker → · Palette generator →

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