#4237C3#4237C3

#4237C3 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.8% C 0.207 H 277.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4237C3
RGBrgb(66, 55, 195)
HSLhsl(245, 56%, 49%)
HSVhsv(245, 72%, 76%)
CMYKcmyk(66.2%, 71.8%, 0%, 23.5%)
CIE-LABlab(33.63, 46.72, -71.19)
CIE-LCHlch(33.63, 85.15, 303.27°)
OKLaboklab(44.79% 0.0269 -0.2056)
OKLCHoklch(44.79% 0.207 277.4)
XYZxyz(13.4601, 7.8296, 52.4211)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237C3 #B8C337
analogous
#3772C3 #4237C3 #8837C3
triadic
#4237C3 #C34237 #37C342
tetradic
#4237C3 #C33772 #B8C337 #37C388
square
#4237C3 #C33772 #B8C337 #37C388
split-complementary
#4237C3 #C38837 #72C337
monochromatic
#221C64 #322A93 #4237C3 #6D64D3 #9A94E1

Accessibility & contrast

On white

8.18
#4237C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4237C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4237C3#FFFFFF#000000##FFFFFF
##4237C31.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4237c3;
/* rgb */ color: rgb(66, 55, 195);
/* oklch */ color: oklch(44.8% 0.207 277.4);
Tailwind
colors: {
  custom: {
    50: '#8770d6',
    500: '#4237c3',
    950: '#000000',
  },
}
SCSS
$custom: #4237c3;
$custom-light: #8770d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4237c3",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 244.714,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44785,
    "c": 0.20734,
    "h": 277.4
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#4237C3
secondary
#C7CC8A
accent
#DF49D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4237C3

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

Preview Lab → · Contrast checker → · Palette generator →

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