#4237A5#4237A5

#4237A5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.170 H 280.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4237A5
RGBrgb(66, 55, 165)
HSLhsl(246, 50%, 43%)
HSVhsv(246, 67%, 65%)
CMYKcmyk(60%, 66.7%, 0%, 35.3%)
CIE-LABlab(30.89, 37.04, -57.85)
CIE-LCHlch(30.89, 68.69, 302.63°)
OKLaboklab(41.99% 0.0315 -0.1665)
OKLCHoklch(41.99% 0.17 280.7)
XYZxyz(10.4024, 6.6065, 36.3170)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237A5 #9AA537
analogous
#3763A5 #4237A5 #7937A5
triadic
#4237A5 #A54237 #37A542
tetradic
#4237A5 #A53763 #9AA537 #37A579
square
#4237A5 #A53763 #9AA537 #37A579
split-complementary
#4237A5 #A57937 #63A537
monochromatic
#1D1849 #302877 #4237A5 #5F53C6 #8A81D5

Accessibility & contrast

On white

9.05
#4237A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4237A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4237A5#FFFFFF#000000##FFFFFF
##4237A51.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4237a5;
/* rgb */ color: rgb(66, 55, 165);
/* oklch */ color: oklch(42.0% 0.170 280.7);
Tailwind
colors: {
  custom: {
    50: '#816fc1',
    500: '#4237a5',
    950: '#000000',
  },
}
SCSS
$custom: #4237a5;
$custom-light: #816fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4237a5",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 246,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41989,
    "c": 0.1695,
    "h": 280.7
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#4237A5
secondary
#B8BF79
accent
#DA4ECC
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4237A5

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

Preview Lab → · Contrast checker → · Palette generator →

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