#4236C3#4236C3

#4236C3 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.208 H 277.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4236C3
RGBrgb(66, 54, 195)
HSLhsl(245, 57%, 49%)
HSVhsv(245, 72%, 76%)
CMYKcmyk(66.2%, 72.3%, 0%, 23.5%)
CIE-LABlab(33.43, 47.27, -71.52)
CIE-LCHlch(33.43, 85.73, 303.46°)
OKLaboklab(44.64% 0.0275 -0.2065)
OKLCHoklch(44.64% 0.208 277.6)
XYZxyz(13.4131, 7.7356, 52.4054)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236C3 #B7C336
analogous
#3671C3 #4236C3 #8936C3
triadic
#4236C3 #C34236 #36C342
tetradic
#4236C3 #C33671 #B7C336 #36C389
square
#4236C3 #C33671 #B7C336 #36C389
split-complementary
#4236C3 #C38936 #71C336
monochromatic
#221B63 #322993 #4236C3 #6C63D4 #9992E1

Accessibility & contrast

On white

8.24
#4236C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4236C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236C3
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236C3#FFFFFF#000000##FFFFFF
##4236C31.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4236c3;
/* rgb */ color: rgb(66, 54, 195);
/* oklch */ color: oklch(44.6% 0.208 277.6);
Tailwind
colors: {
  custom: {
    50: '#876fd6',
    500: '#4236c3',
    950: '#000000',
  },
}
SCSS
$custom: #4236c3;
$custom-light: #876fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4236c3",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 245.106,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.20837,
    "h": 277.6
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4236C3

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

Preview Lab → · Contrast checker → · Palette generator →

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