#4236C2#4236C2

#4236C2 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.207 H 277.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4236C2
RGBrgb(66, 54, 194)
HSLhsl(245, 56%, 49%)
HSVhsv(245, 72%, 76%)
CMYKcmyk(66%, 72.2%, 0%, 23.9%)
CIE-LABlab(33.33, 46.96, -71.09)
CIE-LCHlch(33.33, 85.20, 303.45°)
OKLaboklab(44.55% 0.0277 -0.2053)
OKLCHoklch(44.55% 0.207 277.7)
XYZxyz(13.3004, 7.6905, 51.8120)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236C2 #B6C236
analogous
#3670C2 #4236C2 #8836C2
triadic
#4236C2 #C24236 #36C242
tetradic
#4236C2 #C23670 #B6C236 #36C288
square
#4236C2 #C23670 #B6C236 #36C288
split-complementary
#4236C2 #C28836 #70C236
monochromatic
#211B62 #322992 #4236C2 #6C62D3 #9992E1

Accessibility & contrast

On white

8.27
#4236C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4236C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236C2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236C2#FFFFFF#000000##FFFFFF
##4236C21.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4236c2;
/* rgb */ color: rgb(66, 54, 194);
/* oklch */ color: oklch(44.5% 0.207 277.7);
Tailwind
colors: {
  custom: {
    50: '#876fd6',
    500: '#4236c2',
    950: '#000000',
  },
}
SCSS
$custom: #4236c2;
$custom-light: #876fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4236c2",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 245.143,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44545,
    "c": 0.20716,
    "h": 277.7
  },
  "luminance": 0.07692
}

Semantic roles & 50–950 ramp

primary
#4236C2
secondary
#C6CC88
accent
#E048D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4236C2

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

Preview Lab → · Contrast checker → · Palette generator →

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