#4237C7#4237C7

#4237C7 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.2% C 0.212 H 277.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4237C7
RGBrgb(66, 55, 199)
HSLhsl(245, 57%, 50%)
HSVhsv(245, 72%, 78%)
CMYKcmyk(66.8%, 72.4%, 0%, 22%)
CIE-LABlab(34.01, 47.99, -72.90)
CIE-LCHlch(34.01, 87.27, 303.35°)
OKLaboklab(45.17% 0.0261 -0.2106)
OKLCHoklch(45.17% 0.212 277.1)
XYZxyz(13.9184, 8.0129, 54.8349)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237C7 #BCC737
analogous
#3774C7 #4237C7 #8A37C7
triadic
#4237C7 #C74237 #37C742
tetradic
#4237C7 #C73774 #BCC737 #37C78A
square
#4237C7 #C73774 #BCC737 #37C78A
split-complementary
#4237C7 #C78A37 #74C737
monochromatic
#221C67 #322A97 #4237C7 #6F66D5 #9C96E2

Accessibility & contrast

On white

8.07
#4237C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4237C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237C7
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237C7#FFFFFF#000000##FFFFFF
##4237C71.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4237c7;
/* rgb */ color: rgb(66, 55, 199);
/* oklch */ color: oklch(45.2% 0.212 277.1);
Tailwind
colors: {
  custom: {
    50: '#8870d9',
    500: '#4237c7',
    950: '#000000',
  },
}
SCSS
$custom: #4237c7;
$custom-light: #8870d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4237c7",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 244.583,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45174,
    "c": 0.21219,
    "h": 277.1
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#4237C7
secondary
#C9CD8C
accent
#E048D4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4237C7

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

Preview Lab → · Contrast checker → · Palette generator →

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