#4236B7#4236B7

#4236B7 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.5% C 0.194 H 278.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4236B7
RGBrgb(66, 54, 183)
HSLhsl(246, 54%, 46%)
HSVhsv(246, 70%, 72%)
CMYKcmyk(63.9%, 70.5%, 0%, 28.2%)
CIE-LABlab(32.29, 43.45, -66.31)
CIE-LCHlch(32.29, 79.28, 303.23°)
OKLaboklab(43.49% 0.0297 -0.1913)
OKLCHoklch(43.49% 0.194 278.8)
XYZxyz(12.1104, 7.2145, 45.5449)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236B7 #ABB736
analogous
#366BB7 #4236B7 #8336B7
triadic
#4236B7 #B74236 #36B742
tetradic
#4236B7 #B7366B #ABB736 #36B783
square
#4236B7 #B7366B #ABB736 #36B783
split-complementary
#4236B7 #B78336 #6BB736
monochromatic
#201A58 #312888 #4236B7 #665BCF #928BDD

Accessibility & contrast

On white

8.60
#4236B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4236B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236B7
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236B7#FFFFFF#000000##FFFFFF
##4236B71.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4236b7;
/* rgb */ color: rgb(66, 54, 183);
/* oklch */ color: oklch(43.5% 0.194 278.8);
Tailwind
colors: {
  custom: {
    50: '#856fce',
    500: '#4236b7',
    950: '#000000',
  },
}
SCSS
$custom: #4236b7;
$custom-light: #856fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4236b7",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 245.581,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43489,
    "c": 0.19363,
    "h": 278.8
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#4236B7
secondary
#C0C782
accent
#DE4AD0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4236B7

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

Preview Lab → · Contrast checker → · Palette generator →

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