#4237B5#4237B5

#4237B5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.5% C 0.190 H 278.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4237B5
RGBrgb(66, 55, 181)
HSLhsl(245, 53%, 46%)
HSVhsv(245, 70%, 71%)
CMYKcmyk(63.5%, 69.6%, 0%, 29%)
CIE-LABlab(32.32, 42.23, -65.09)
CIE-LCHlch(32.32, 77.59, 302.98°)
OKLaboklab(43.45% 0.0293 -0.1877)
OKLCHoklch(43.45% 0.19 278.9)
XYZxyz(11.9508, 7.2259, 44.4721)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237B5 #AAB537
analogous
#376BB5 #4237B5 #8137B5
triadic
#4237B5 #B54237 #37B542
tetradic
#4237B5 #B5376B #AAB537 #37B581
square
#4237B5 #B5376B #AAB537 #37B581
split-complementary
#4237B5 #B58137 #6BB537
monochromatic
#201A57 #312986 #4237B5 #665CCD #928BDC

Accessibility & contrast

On white

8.59
#4237B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4237B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237B5
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237B5#FFFFFF#000000##FFFFFF
##4237B51.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4237b5;
/* rgb */ color: rgb(66, 55, 181);
/* oklch */ color: oklch(43.5% 0.190 278.9);
Tailwind
colors: {
  custom: {
    50: '#846fcc',
    500: '#4237b5',
    950: '#000000',
  },
}
SCSS
$custom: #4237b5;
$custom-light: #846fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4237b5",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 245.238,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4345,
    "c": 0.19002,
    "h": 278.9
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#4237B5
secondary
#C0C682
accent
#DD4BD0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4237B5

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

Preview Lab → · Contrast checker → · Palette generator →

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