#4236B8#4236B8

#4236B8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.6% C 0.195 H 278.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4236B8
RGBrgb(66, 54, 184)
HSLhsl(246, 55%, 47%)
HSVhsv(246, 71%, 72%)
CMYKcmyk(64.1%, 70.7%, 0%, 27.8%)
CIE-LABlab(32.38, 43.77, -66.75)
CIE-LCHlch(32.38, 79.83, 303.25°)
OKLaboklab(43.58% 0.0295 -0.1926)
OKLCHoklch(43.58% 0.195 278.7)
XYZxyz(12.2149, 7.2563, 46.0950)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236B8 #ACB836
analogous
#366BB8 #4236B8 #8336B8
triadic
#4236B8 #B84236 #36B842
tetradic
#4236B8 #B8366B #ACB836 #36B883
square
#4236B8 #B8366B #ACB836 #36B883
split-complementary
#4236B8 #B88336 #6BB836
monochromatic
#201A59 #312889 #4236B8 #675CCF #938BDD

Accessibility & contrast

On white

8.57
#4236B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4236B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236B8
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236B8#FFFFFF#000000##FFFFFF
##4236B81.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4236b8;
/* rgb */ color: rgb(66, 54, 184);
/* oklch */ color: oklch(43.6% 0.195 278.7);
Tailwind
colors: {
  custom: {
    50: '#856fce',
    500: '#4236b8',
    950: '#000000',
  },
}
SCSS
$custom: #4236b8;
$custom-light: #856fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4236b8",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 245.538,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43583,
    "c": 0.19487,
    "h": 278.7
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4236B8

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

Preview Lab → · Contrast checker → · Palette generator →

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