#4237C5#4237C5

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

Color values

HEX#4237C5
RGBrgb(66, 55, 197)
HSLhsl(245, 56%, 49%)
HSVhsv(245, 72%, 77%)
CMYKcmyk(66.5%, 72.1%, 0%, 22.7%)
CIE-LABlab(33.82, 47.35, -72.05)
CIE-LCHlch(33.82, 86.21, 303.31°)
OKLaboklab(44.98% 0.0265 -0.2081)
OKLCHoklch(44.98% 0.21 277.3)
XYZxyz(13.6877, 7.9207, 53.6200)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237C5 #BAC537
analogous
#3773C5 #4237C5 #8937C5
triadic
#4237C5 #C54237 #37C542
tetradic
#4237C5 #C53773 #BAC537 #37C589
square
#4237C5 #C53773 #BAC537 #37C589
split-complementary
#4237C5 #C58937 #73C537
monochromatic
#221C65 #322A95 #4237C5 #6E65D4 #9B95E1

Accessibility & contrast

On white

8.13
#4237C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4237C5
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237C5#FFFFFF#000000##FFFFFF
##4237C51.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4237c5;
/* rgb */ color: rgb(66, 55, 197);
/* oklch */ color: oklch(45.0% 0.210 277.3);
Tailwind
colors: {
  custom: {
    50: '#8770d8',
    500: '#4237c5',
    950: '#000000',
  },
}
SCSS
$custom: #4237c5;
$custom-light: #8770d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4237c5",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 244.648,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.20977,
    "h": 277.3
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4237C5

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

Preview Lab → · Contrast checker → · Palette generator →

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