#4237CC#4237CC

#4237CC is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.218 H 276.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4237CC
RGBrgb(66, 55, 204)
HSLhsl(244, 59%, 51%)
HSVhsv(244, 73%, 80%)
CMYKcmyk(67.6%, 73%, 0%, 20%)
CIE-LABlab(34.50, 49.56, -75.01)
CIE-LCHlch(34.50, 89.90, 303.45°)
OKLaboklab(45.67% 0.0252 -0.2167)
OKLCHoklch(45.67% 0.218 276.6)
XYZxyz(14.5085, 8.2490, 57.9427)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237CC #C1CC37
analogous
#3776CC #4237CC #8D37CC
triadic
#4237CC #CC4237 #37CC42
tetradic
#4237CC #CC3776 #C1CC37 #37CC8D
square
#4237CC #CC3776 #C1CC37 #37CC8D
split-complementary
#4237CC #CC8D37 #76CC37
monochromatic
#221C6D #31289E #4237CC #7068D8 #9E99E5

Accessibility & contrast

On white

7.92
#4237CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4237CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237CC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237CC#FFFFFF#000000##FFFFFF
##4237CC1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4237cc;
/* rgb */ color: rgb(66, 55, 204);
/* oklch */ color: oklch(45.7% 0.218 276.6);
Tailwind
colors: {
  custom: {
    50: '#8970dd',
    500: '#4237cc',
    950: '#000000',
  },
}
SCSS
$custom: #4237cc;
$custom-light: #8970dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4237cc",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 244.43,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.2182,
    "h": 276.6
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#4237CC
secondary
#CCD08E
accent
#E345D7
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4237CC

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

Preview Lab → · Contrast checker → · Palette generator →

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