#4237BB#4237BB

#4237BB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.198 H 278.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4237BB
RGBrgb(66, 55, 187)
HSLhsl(245, 55%, 47%)
HSVhsv(245, 71%, 73%)
CMYKcmyk(64.7%, 70.6%, 0%, 26.7%)
CIE-LABlab(32.87, 44.16, -67.73)
CIE-LCHlch(32.87, 80.85, 303.11°)
OKLaboklab(44.02% 0.0283 -0.1955)
OKLCHoklch(44.02% 0.198 278.2)
XYZxyz(12.5797, 7.4775, 47.7844)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237BB #B0BB37
analogous
#376EBB #4237BB #8437BB
triadic
#4237BB #BB4237 #37BB42
tetradic
#4237BB #BB376E #B0BB37 #37BB84
square
#4237BB #BB376E #B0BB37 #37BB84
split-complementary
#4237BB #BB8437 #6EBB37
monochromatic
#211B5C #31298C #4237BB #695FD0 #958EDE

Accessibility & contrast

On white

8.41
#4237BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4237BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237BB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237BB#FFFFFF#000000##FFFFFF
##4237BB1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4237bb;
/* rgb */ color: rgb(66, 55, 187);
/* oklch */ color: oklch(44.0% 0.198 278.2);
Tailwind
colors: {
  custom: {
    50: '#856fd1',
    500: '#4237bb',
    950: '#000000',
  },
}
SCSS
$custom: #4237bb;
$custom-light: #856fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4237bb",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 245,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44016,
    "c": 0.19751,
    "h": 278.2
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#4237BB
secondary
#C3C985
accent
#DE4AD2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4237BB

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

Preview Lab → · Contrast checker → · Palette generator →

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