#4236C8#4236C8

#4236C8 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.214 H 277.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4236C8
RGBrgb(66, 54, 200)
HSLhsl(245, 57%, 50%)
HSVhsv(245, 73%, 78%)
CMYKcmyk(67%, 73%, 0%, 21.6%)
CIE-LABlab(33.91, 48.85, -73.64)
CIE-LCHlch(33.91, 88.37, 303.56°)
OKLaboklab(45.13% 0.0265 -0.2127)
OKLCHoklch(45.13% 0.214 277.1)
XYZxyz(13.9879, 7.9655, 55.4327)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236C8 #BCC836
analogous
#3673C8 #4236C8 #8B36C8
triadic
#4236C8 #C84236 #36C842
tetradic
#4236C8 #C83673 #BCC836 #36C88B
square
#4236C8 #C83673 #BCC836 #36C88B
split-complementary
#4236C8 #C88B36 #73C836
monochromatic
#221C68 #322998 #4236C8 #6F66D6 #9C96E3

Accessibility & contrast

On white

8.10
#4236C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4236C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236C8
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236C8#FFFFFF#000000##FFFFFF
##4236C81.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4236c8;
/* rgb */ color: rgb(66, 54, 200);
/* oklch */ color: oklch(45.1% 0.214 277.1);
Tailwind
colors: {
  custom: {
    50: '#886fda',
    500: '#4236c8',
    950: '#000000',
  },
}
SCSS
$custom: #4236c8;
$custom-light: #886fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4236c8",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 244.932,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45133,
    "c": 0.2144,
    "h": 277.1
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#4236C8
secondary
#C9CE8C
accent
#E147D4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4236C8

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

Preview Lab → · Contrast checker → · Palette generator →

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