#4237C2#4237C2

#4237C2 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.206 H 277.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4237C2
RGBrgb(66, 55, 194)
HSLhsl(245, 56%, 49%)
HSVhsv(245, 72%, 76%)
CMYKcmyk(66%, 71.6%, 0%, 23.9%)
CIE-LABlab(33.53, 46.40, -70.76)
CIE-LCHlch(33.53, 84.62, 303.25°)
OKLaboklab(44.69% 0.0271 -0.2043)
OKLCHoklch(44.69% 0.206 277.5)
XYZxyz(13.3474, 7.7845, 51.8277)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237C2 #B7C237
analogous
#3772C2 #4237C2 #8837C2
triadic
#4237C2 #C24237 #37C242
tetradic
#4237C2 #C23772 #B7C237 #37C288
square
#4237C2 #C23772 #B7C237 #37C288
split-complementary
#4237C2 #C28837 #72C237
monochromatic
#221C63 #322992 #4237C2 #6C63D3 #9993E0

Accessibility & contrast

On white

8.21
#4237C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4237C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237C2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237C2#FFFFFF#000000##FFFFFF
##4237C21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4237c2;
/* rgb */ color: rgb(66, 55, 194);
/* oklch */ color: oklch(44.7% 0.206 277.5);
Tailwind
colors: {
  custom: {
    50: '#8770d6',
    500: '#4237c2',
    950: '#000000',
  },
}
SCSS
$custom: #4237c2;
$custom-light: #8770d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4237c2",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 244.748,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44688,
    "c": 0.20612,
    "h": 277.5
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#4237C2
secondary
#C6CB89
accent
#DF49D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4237C2

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

Preview Lab → · Contrast checker → · Palette generator →

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