#4236AF#4236AF

#4236AF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.7% C 0.184 H 279.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#4236AF
RGBrgb(66, 54, 175)
HSLhsl(246, 53%, 45%)
HSVhsv(246, 69%, 69%)
CMYKcmyk(62.3%, 69.1%, 0%, 31.4%)
CIE-LABlab(31.56, 40.88, -62.76)
CIE-LCHlch(31.56, 74.90, 303.08°)
OKLaboklab(42.74% 0.031 -0.1809)
OKLCHoklch(42.74% 0.184 279.7)
XYZxyz(11.3013, 6.8909, 41.2837)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4236AF #A3AF36
analogous
#3667AF #4236AF #7E36AF
triadic
#4236AF #AF4236 #36AF42
tetradic
#4236AF #AF3667 #A3AF36 #36AF7E
square
#4236AF #AF3667 #A3AF36 #36AF7E
split-complementary
#4236AF #AF7E36 #67AF36
monochromatic
#1F1951 #302880 #4236AF #6357CB #8E86DA

Accessibility & contrast

On white

8.83
#4236AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4236AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4236AF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4236AF#FFFFFF#000000##FFFFFF
##4236AF1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4236af;
/* rgb */ color: rgb(66, 54, 175);
/* oklch */ color: oklch(42.7% 0.184 279.7);
Tailwind
colors: {
  custom: {
    50: '#836ec8',
    500: '#4236af',
    950: '#000000',
  },
}
SCSS
$custom: #4236af;
$custom-light: #836ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4236af",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 245.95,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.18356,
    "h": 279.7
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#4236AF
secondary
#BCC37D
accent
#DC4CCE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4236AF

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

Preview Lab → · Contrast checker → · Palette generator →

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