#4237E5#4237E5

#4237E5 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 48.2% C 0.247 H 274.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4237E5
RGBrgb(66, 55, 229)
HSLhsl(244, 77%, 56%)
HSVhsv(244, 76%, 90%)
CMYKcmyk(71.2%, 76%, 0%, 10.2%)
CIE-LABlab(37.02, 57.29, -85.24)
CIE-LCHlch(37.02, 102.70, 303.90°)
OKLaboklab(48.19% 0.02 -0.2465)
OKLCHoklch(48.19% 0.247 274.6)
XYZxyz(17.7511, 9.5460, 75.0206)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237E5 #DAE537
analogous
#3783E5 #4237E5 #9937E5
triadic
#4237E5 #E54237 #37E542
tetradic
#4237E5 #E53783 #DAE537 #37E599
square
#4237E5 #E53783 #DAE537 #37E599
split-complementary
#4237E5 #E59937 #83E537
monochromatic
#1A138F #241AC5 #4237E5 #756DEC #A8A3F3

Accessibility & contrast

On white

7.22
#4237E5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4237E5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237E5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237E5#FFFFFF#000000##FFFFFF
##4237E51.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FEA
Deuteranopia (green-blind)
#004FE2
Tritanopia (blue-blind)
#006B8D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4237e5;
/* rgb */ color: rgb(66, 55, 229);
/* oklch */ color: oklch(48.2% 0.247 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e71ef',
    500: '#4237e5',
    950: '#000000',
  },
}
SCSS
$custom: #4237e5;
$custom-light: #8e71ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4237e5",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 229
  },
  "hsl": {
    "h": 243.793,
    "s": 76.991,
    "l": 55.686
  },
  "oklch": {
    "l": 0.48193,
    "c": 0.24734,
    "h": 274.6
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#4237E5
secondary
#DBE098
accent
#F434E7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #4237E5

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

Preview Lab → · Contrast checker → · Palette generator →

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