#4237AE#4237AE

#4237AE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.181 H 279.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4237AE
RGBrgb(66, 55, 174)
HSLhsl(246, 52%, 45%)
HSVhsv(246, 68%, 68%)
CMYKcmyk(62.1%, 68.4%, 0%, 31.8%)
CIE-LABlab(31.68, 39.97, -61.96)
CIE-LCHlch(31.68, 73.73, 302.82°)
OKLaboklab(42.8% 0.0303 -0.1786)
OKLCHoklch(42.8% 0.181 279.6)
XYZxyz(11.2505, 6.9458, 40.7840)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237AE #A3AE37
analogous
#3768AE #4237AE #7D37AE
triadic
#4237AE #AE4237 #37AE42
tetradic
#4237AE #AE3768 #A3AE37 #37AE7D
square
#4237AE #AE3768 #A3AE37 #37AE7D
split-complementary
#4237AE #AE7D37 #68AE37
monochromatic
#1F1A51 #30287F #4237AE #6358CA #8E86D9

Accessibility & contrast

On white

8.79
#4237AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4237AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237AE
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237AE#FFFFFF#000000##FFFFFF
##4237AE1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4237ae;
/* rgb */ color: rgb(66, 55, 174);
/* oklch */ color: oklch(42.8% 0.181 279.6);
Tailwind
colors: {
  custom: {
    50: '#836fc7',
    500: '#4237ae',
    950: '#000000',
  },
}
SCSS
$custom: #4237ae;
$custom-light: #836fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4237ae",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 245.546,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42802,
    "c": 0.18114,
    "h": 279.6
  },
  "luminance": 0.06947
}

Semantic roles & 50–950 ramp

primary
#4237AE
secondary
#BCC37E
accent
#DB4CCE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4237AE

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

Preview Lab → · Contrast checker → · Palette generator →

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