#4237A2#4237A2

#4237A2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.166 H 281.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4237A2
RGBrgb(66, 55, 162)
HSLhsl(246, 49%, 43%)
HSVhsv(246, 66%, 64%)
CMYKcmyk(59.3%, 66%, 0%, 36.5%)
CIE-LABlab(30.64, 36.06, -56.46)
CIE-LCHlch(30.64, 66.99, 302.57°)
OKLaboklab(41.72% 0.0319 -0.1625)
OKLCHoklch(41.72% 0.166 281.1)
XYZxyz(10.1325, 6.4986, 34.8958)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237A2 #97A237
analogous
#3762A2 #4237A2 #7737A2
triadic
#4237A2 #A24237 #37A242
tetradic
#4237A2 #A23762 #97A237 #37A277
square
#4237A2 #A23762 #97A237 #37A277
split-complementary
#4237A2 #A27737 #62A237
monochromatic
#1D1847 #2F2774 #4237A2 #5E52C4 #8880D4

Accessibility & contrast

On white

9.13
#4237A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4237A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4237A2#FFFFFF#000000##FFFFFF
##4237A21.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#035267
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4237a2;
/* rgb */ color: rgb(66, 55, 162);
/* oklch */ color: oklch(41.7% 0.166 281.1);
Tailwind
colors: {
  custom: {
    50: '#816fbe',
    500: '#4237a2',
    950: '#000000',
  },
}
SCSS
$custom: #4237a2;
$custom-light: #816fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4237a2",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 246.168,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41723,
    "c": 0.16556,
    "h": 281.1
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4237A2

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

Preview Lab → · Contrast checker → · Palette generator →

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