#4236D0#4236D0

#4236D0 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.224 H 276.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4236D0
RGBrgb(66, 54, 208)
HSLhsl(245, 62%, 51%)
HSVhsv(245, 74%, 82%)
CMYKcmyk(68.3%, 74%, 0%, 18.4%)
CIE-LABlab(34.70, 51.35, -77.00)
CIE-LCHlch(34.70, 92.55, 303.70°)
OKLaboklab(45.93% 0.0249 -0.2225)
OKLCHoklch(45.93% 0.224 276.4)
XYZxyz(14.9474, 8.3493, 60.4861)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236D0 #C4D036
analogous
#3677D0 #4236D0 #8F36D0
triadic
#4236D0 #D04236 #36D042
tetradic
#4236D0 #D03677 #C4D036 #36D08F
square
#4236D0 #D03677 #C4D036 #36D08F
split-complementary
#4236D0 #D08F36 #77D036
monochromatic
#211A71 #3026A3 #4236D0 #7168DC #9F99E7

Accessibility & contrast

On white

7.86
#4236D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4236D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236D0
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236D0#FFFFFF#000000##FFFFFF
##4236D01.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D4
Deuteranopia (green-blind)
#004BCD
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4236d0;
/* rgb */ color: rgb(66, 54, 208);
/* oklch */ color: oklch(45.9% 0.224 276.4);
Tailwind
colors: {
  custom: {
    50: '#8a70e0',
    500: '#4236d0',
    950: '#000000',
  },
}
SCSS
$custom: #4236d0;
$custom-light: #8a70e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4236d0",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 244.675,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.22391,
    "h": 276.4
  },
  "luminance": 0.08351
}

Semantic roles & 50–950 ramp

primary
#4236D0
secondary
#CED38F
accent
#E543D9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4236D0

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

Preview Lab → · Contrast checker → · Palette generator →

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