#4237AD#4237AD

#4237AD is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.7% C 0.180 H 279.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4237AD
RGBrgb(66, 55, 173)
HSLhsl(246, 52%, 45%)
HSVhsv(246, 68%, 68%)
CMYKcmyk(61.8%, 68.2%, 0%, 32.2%)
CIE-LABlab(31.59, 39.64, -61.51)
CIE-LCHlch(31.59, 73.17, 302.80°)
OKLaboklab(42.71% 0.0305 -0.1773)
OKLCHoklch(42.71% 0.18 279.8)
XYZxyz(11.1534, 6.9069, 40.2725)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237AD #A2AD37
analogous
#3767AD #4237AD #7D37AD
triadic
#4237AD #AD4237 #37AD42
tetradic
#4237AD #AD3767 #A2AD37 #37AD7D
square
#4237AD #AD3767 #A2AD37 #37AD7D
split-complementary
#4237AD #AD7D37 #67AD37
monochromatic
#1F1950 #30287F #4237AD #6257CA #8E86D8

Accessibility & contrast

On white

8.82
#4237AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4237AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237AD
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237AD#FFFFFF#000000##FFFFFF
##4237AD1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4237ad;
/* rgb */ color: rgb(66, 55, 173);
/* oklch */ color: oklch(42.7% 0.180 279.8);
Tailwind
colors: {
  custom: {
    50: '#836fc6',
    500: '#4237ad',
    950: '#000000',
  },
}
SCSS
$custom: #4237ad;
$custom-light: #836fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4237ad",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 245.593,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.17986,
    "h": 279.8
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#4237AD
secondary
#BCC27D
accent
#DB4DCE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4237AD

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

Preview Lab → · Contrast checker → · Palette generator →

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