#4237A3#4237A3

#4237A3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.167 H 281.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4237A3
RGBrgb(66, 55, 163)
HSLhsl(246, 50%, 43%)
HSVhsv(246, 66%, 64%)
CMYKcmyk(59.5%, 66.3%, 0%, 36.1%)
CIE-LABlab(30.72, 36.38, -56.92)
CIE-LCHlch(30.72, 67.56, 302.59°)
OKLaboklab(41.81% 0.0318 -0.1638)
OKLCHoklch(41.81% 0.167 281)
XYZxyz(10.2217, 6.5343, 35.3658)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237A3 #98A337
analogous
#3762A3 #4237A3 #7837A3
triadic
#4237A3 #A34237 #37A342
tetradic
#4237A3 #A33762 #98A337 #37A378
square
#4237A3 #A33762 #98A337 #37A378
split-complementary
#4237A3 #A37837 #62A337
monochromatic
#1D1847 #2F2875 #4237A3 #5E52C5 #8980D4

Accessibility & contrast

On white

9.10
#4237A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4237A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4237A3#FFFFFF#000000##FFFFFF
##4237A31.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4237a3;
/* rgb */ color: rgb(66, 55, 163);
/* oklch */ color: oklch(41.8% 0.167 281.0);
Tailwind
colors: {
  custom: {
    50: '#816fbf',
    500: '#4237a3',
    950: '#000000',
  },
}
SCSS
$custom: #4237a3;
$custom-light: #816fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4237a3",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 246.111,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41811,
    "c": 0.16687,
    "h": 281
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#4237A3
secondary
#B7BE78
accent
#D94FCB
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4237A3

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

Preview Lab → · Contrast checker → · Palette generator →

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