#4237C4#4237C4

#4237C4 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.209 H 277.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4237C4
RGBrgb(66, 55, 196)
HSLhsl(245, 56%, 49%)
HSVhsv(245, 72%, 77%)
CMYKcmyk(66.3%, 71.9%, 0%, 23.1%)
CIE-LABlab(33.72, 47.03, -71.62)
CIE-LCHlch(33.72, 85.68, 303.29°)
OKLaboklab(44.88% 0.0267 -0.2068)
OKLCHoklch(44.88% 0.209 277.3)
XYZxyz(13.5735, 7.8750, 53.0186)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237C4 #B9C437
analogous
#3773C4 #4237C4 #8937C4
triadic
#4237C4 #C44237 #37C442
tetradic
#4237C4 #C43773 #B9C437 #37C489
square
#4237C4 #C43773 #B9C437 #37C489
split-complementary
#4237C4 #C48937 #73C437
monochromatic
#221C64 #322A94 #4237C4 #6D65D4 #9A94E1

Accessibility & contrast

On white

8.15
#4237C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4237C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237C4
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237C4#FFFFFF#000000##FFFFFF
##4237C41.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0049C1
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4237c4;
/* rgb */ color: rgb(66, 55, 196);
/* oklch */ color: oklch(44.9% 0.209 277.3);
Tailwind
colors: {
  custom: {
    50: '#8770d7',
    500: '#4237c4',
    950: '#000000',
  },
}
SCSS
$custom: #4237c4;
$custom-light: #8770d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4237c4",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 244.681,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44882,
    "c": 0.20855,
    "h": 277.3
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#4237C4
secondary
#C7CC8B
accent
#DF48D4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4237C4

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

Preview Lab → · Contrast checker → · Palette generator →

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