#4237AA#4237AA

#4237AA is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.176 H 280.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4237AA
RGBrgb(66, 55, 170)
HSLhsl(246, 51%, 44%)
HSVhsv(246, 68%, 67%)
CMYKcmyk(61.2%, 67.6%, 0%, 33.3%)
CIE-LABlab(31.33, 38.67, -60.14)
CIE-LCHlch(31.33, 71.50, 302.74°)
OKLaboklab(42.44% 0.0309 -0.1733)
OKLCHoklch(42.44% 0.176 280.1)
XYZxyz(10.8664, 6.7921, 38.7608)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237AA #9FAA37
analogous
#3766AA #4237AA #7C37AA
triadic
#4237AA #AA4237 #37AA42
tetradic
#4237AA #AA3766 #9FAA37 #37AA7C
square
#4237AA #AA3766 #9FAA37 #37AA7C
split-complementary
#4237AA #AA7C37 #66AA37
monochromatic
#1E194E #30287C #4237AA #6156C8 #8C84D7

Accessibility & contrast

On white

8.90
#4237AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4237AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4237AA#FFFFFF#000000##FFFFFF
##4237AA1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4237aa;
/* rgb */ color: rgb(66, 55, 170);
/* oklch */ color: oklch(42.4% 0.176 280.1);
Tailwind
colors: {
  custom: {
    50: '#826fc4',
    500: '#4237aa',
    950: '#000000',
  },
}
SCSS
$custom: #4237aa;
$custom-light: #826fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4237aa",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 245.739,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.17599,
    "h": 280.1
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#4237AA
secondary
#BAC17C
accent
#DB4DCD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4237AA

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

Preview Lab → · Contrast checker → · Palette generator →

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