#4236B3#4236B3

#4236B3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.189 H 279.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#4236B3
RGBrgb(66, 54, 179)
HSLhsl(246, 54%, 46%)
HSVhsv(246, 70%, 70%)
CMYKcmyk(63.1%, 69.8%, 0%, 29.8%)
CIE-LABlab(31.92, 42.17, -64.55)
CIE-LCHlch(31.92, 77.10, 303.16°)
OKLaboklab(43.11% 0.0303 -0.1862)
OKLCHoklch(43.11% 0.189 279.3)
XYZxyz(11.7000, 7.0504, 43.3834)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236B3 #A7B336
analogous
#3668B3 #4236B3 #8036B3
triadic
#4236B3 #B34236 #36B342
tetradic
#4236B3 #B33668 #A7B336 #36B380
square
#4236B3 #B33668 #A7B336 #36B380
split-complementary
#4236B3 #B38036 #68B336
monochromatic
#1F1A55 #312884 #4236B3 #6459CD #9088DB

Accessibility & contrast

On white

8.71
#4236B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4236B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236B3
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236B3#FFFFFF#000000##FFFFFF
##4236B31.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4236b3;
/* rgb */ color: rgb(66, 54, 179);
/* oklch */ color: oklch(43.1% 0.189 279.3);
Tailwind
colors: {
  custom: {
    50: '#846ecb',
    500: '#4236b3',
    950: '#000000',
  },
}
SCSS
$custom: #4236b3;
$custom-light: #846ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4236b3",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 245.76,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.18862,
    "h": 279.3
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#4236B3
secondary
#BEC580
accent
#DD4BCF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4236B3

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

Preview Lab → · Contrast checker → · Palette generator →

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