#4236D1#4236D1

#4236D1 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.0% C 0.225 H 276.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4236D1
RGBrgb(66, 54, 209)
HSLhsl(245, 63%, 52%)
HSVhsv(245, 74%, 82%)
CMYKcmyk(68.4%, 74.2%, 0%, 18%)
CIE-LABlab(34.80, 51.66, -77.41)
CIE-LCHlch(34.80, 93.07, 303.72°)
OKLaboklab(46.03% 0.0247 -0.2237)
OKLCHoklch(46.03% 0.225 276.3)
XYZxyz(15.0708, 8.3987, 61.1361)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236D1 #C5D136
analogous
#3678D1 #4236D1 #9036D1
triadic
#4236D1 #D14236 #36D142
tetradic
#4236D1 #D13678 #C5D136 #36D190
square
#4236D1 #D13678 #C5D136 #36D190
split-complementary
#4236D1 #D19036 #78D136
monochromatic
#211A72 #2F26A4 #4236D1 #7168DC #A09AE8

Accessibility & contrast

On white

7.84
#4236D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4236D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236D1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236D1#FFFFFF#000000##FFFFFF
##4236D11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D5
Deuteranopia (green-blind)
#004BCE
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4236d1;
/* rgb */ color: rgb(66, 54, 209);
/* oklch */ color: oklch(46.0% 0.225 276.3);
Tailwind
colors: {
  custom: {
    50: '#8a70e0',
    500: '#4236d1',
    950: '#000000',
  },
}
SCSS
$custom: #4236d1;
$custom-light: #8a70e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4236d1",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 244.645,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46029,
    "c": 0.22509,
    "h": 276.3
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4236D1

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

Preview Lab → · Contrast checker → · Palette generator →

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