#4237C0#4237C0

#4237C0 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.204 H 277.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4237C0
RGBrgb(66, 55, 192)
HSLhsl(245, 55%, 48%)
HSVhsv(245, 71%, 75%)
CMYKcmyk(65.6%, 71.4%, 0%, 24.7%)
CIE-LABlab(33.34, 45.76, -69.90)
CIE-LCHlch(33.34, 83.55, 303.21°)
OKLaboklab(44.5% 0.0274 -0.2018)
OKLCHoklch(44.5% 0.204 277.7)
XYZxyz(13.1243, 7.6953, 50.6527)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237C0 #B5C037
analogous
#3770C0 #4237C0 #8737C0
triadic
#4237C0 #C04237 #37C042
tetradic
#4237C0 #C03770 #B5C037 #37C087
square
#4237C0 #C03770 #B5C037 #37C087
split-complementary
#4237C0 #C08737 #70C037
monochromatic
#211C61 #322990 #4237C0 #6B62D2 #9892E0

Accessibility & contrast

On white

8.27
#4237C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4237C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237C0
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237C0#FFFFFF#000000##FFFFFF
##4237C01.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4237c0;
/* rgb */ color: rgb(66, 55, 192);
/* oklch */ color: oklch(44.5% 0.204 277.7);
Tailwind
colors: {
  custom: {
    50: '#8670d4',
    500: '#4237c0',
    950: '#000000',
  },
}
SCSS
$custom: #4237c0;
$custom-light: #8670d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4237c0",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 244.818,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44495,
    "c": 0.20367,
    "h": 277.7
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#4237C0
secondary
#C5CB88
accent
#DF49D3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4237C0

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

Preview Lab → · Contrast checker → · Palette generator →

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