#4237AC#4237AC

#4237AC is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.179 H 279.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4237AC
RGBrgb(66, 55, 172)
HSLhsl(246, 52%, 45%)
HSVhsv(246, 68%, 67%)
CMYKcmyk(61.6%, 68%, 0%, 32.5%)
CIE-LABlab(31.51, 39.32, -61.05)
CIE-LCHlch(31.51, 72.62, 302.78°)
OKLaboklab(42.62% 0.0306 -0.1759)
OKLCHoklch(42.62% 0.179 279.9)
XYZxyz(11.0570, 6.8684, 39.7648)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237AC #A1AC37
analogous
#3767AC #4237AC #7D37AC
triadic
#4237AC #AC4237 #37AC42
tetradic
#4237AC #AC3767 #A1AC37 #37AC7D
square
#4237AC #AC3767 #A1AC37 #37AC7D
split-complementary
#4237AC #AC7D37 #67AC37
monochromatic
#1E194F #30287E #4237AC #6257C9 #8D85D8

Accessibility & contrast

On white

8.85
#4237AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4237AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237AC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237AC#FFFFFF#000000##FFFFFF
##4237AC1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4237ac;
/* rgb */ color: rgb(66, 55, 172);
/* oklch */ color: oklch(42.6% 0.179 279.9);
Tailwind
colors: {
  custom: {
    50: '#836fc6',
    500: '#4237ac',
    950: '#000000',
  },
}
SCSS
$custom: #4237ac;
$custom-light: #836fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4237ac",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 245.641,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.17857,
    "h": 279.9
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#4237AC
secondary
#BBC27D
accent
#DB4DCE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4237AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4237AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva