#4237BC#4237BC

#4237BC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.1% C 0.199 H 278.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4237BC
RGBrgb(66, 55, 188)
HSLhsl(245, 55%, 48%)
HSVhsv(245, 71%, 74%)
CMYKcmyk(64.9%, 70.7%, 0%, 26.3%)
CIE-LABlab(32.96, 44.48, -68.16)
CIE-LCHlch(32.96, 81.39, 303.13°)
OKLaboklab(44.11% 0.0281 -0.1967)
OKLCHoklch(44.11% 0.199 278.1)
XYZxyz(12.6871, 7.5204, 48.3502)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237BC #B1BC37
analogous
#376FBC #4237BC #8437BC
triadic
#4237BC #BC4237 #37BC42
tetradic
#4237BC #BC376F #B1BC37 #37BC84
square
#4237BC #BC376F #B1BC37 #37BC84
split-complementary
#4237BC #BC8437 #6FBC37
monochromatic
#211B5D #31298D #4237BC #6960D0 #968FDE

Accessibility & contrast

On white

8.39
#4237BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4237BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4237BC#FFFFFF#000000##FFFFFF
##4237BC1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4237bc;
/* rgb */ color: rgb(66, 55, 188);
/* oklch */ color: oklch(44.1% 0.199 278.1);
Tailwind
colors: {
  custom: {
    50: '#866fd1',
    500: '#4237bc',
    950: '#000000',
  },
}
SCSS
$custom: #4237bc;
$custom-light: #866fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4237bc",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 244.962,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44112,
    "c": 0.19875,
    "h": 278.1
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#4237BC
secondary
#C3C986
accent
#DE4AD2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4237BC

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

Preview Lab → · Contrast checker → · Palette generator →

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