#4236BE#4236BE

#4236BE is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.2% C 0.202 H 278.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4236BE
RGBrgb(66, 54, 190)
HSLhsl(245, 56%, 48%)
HSVhsv(245, 72%, 75%)
CMYKcmyk(65.3%, 71.6%, 0%, 25.5%)
CIE-LABlab(32.95, 45.69, -69.37)
CIE-LCHlch(32.95, 83.06, 303.37°)
OKLaboklab(44.16% 0.0284 -0.2003)
OKLCHoklch(44.16% 0.202 278.1)
XYZxyz(12.8572, 7.5132, 49.4779)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236BE #B2BE36
analogous
#366EBE #4236BE #8636BE
triadic
#4236BE #BE4236 #36BE42
tetradic
#4236BE #BE366E #B2BE36 #36BE86
square
#4236BE #BE366E #B2BE36 #36BE86
split-complementary
#4236BE #BE8636 #6EBE36
monochromatic
#211B5F #31288E #4236BE #6A60D2 #968FDF

Accessibility & contrast

On white

8.39
#4236BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4236BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4236BE#FFFFFF#000000##FFFFFF
##4236BE1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4236be;
/* rgb */ color: rgb(66, 54, 190);
/* oklch */ color: oklch(44.2% 0.202 278.1);
Tailwind
colors: {
  custom: {
    50: '#866fd3',
    500: '#4236be',
    950: '#000000',
  },
}
SCSS
$custom: #4236be;
$custom-light: #866fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4236be",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 245.294,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.20228,
    "h": 278.1
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4236BE

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

Preview Lab → · Contrast checker → · Palette generator →

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