#4237C8#4237C8

#4237C8 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.213 H 277.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4237C8
RGBrgb(66, 55, 200)
HSLhsl(245, 57%, 50%)
HSVhsv(245, 73%, 78%)
CMYKcmyk(67%, 72.5%, 0%, 21.6%)
CIE-LABlab(34.11, 48.30, -73.32)
CIE-LCHlch(34.11, 87.80, 303.38°)
OKLaboklab(45.27% 0.0259 -0.2118)
OKLCHoklch(45.27% 0.213 277)
XYZxyz(14.0349, 8.0595, 55.4484)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237C8 #BDC837
analogous
#3774C8 #4237C8 #8B37C8
triadic
#4237C8 #C84237 #37C842
tetradic
#4237C8 #C83774 #BDC837 #37C88B
square
#4237C8 #C83774 #BDC837 #37C88B
split-complementary
#4237C8 #C88B37 #74C837
monochromatic
#221D68 #322A98 #4237C8 #6F67D5 #9D97E2

Accessibility & contrast

On white

8.04
#4237C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4237C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237C8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237C8#FFFFFF#000000##FFFFFF
##4237C81.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#004AC5
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4237c8;
/* rgb */ color: rgb(66, 55, 200);
/* oklch */ color: oklch(45.3% 0.213 277.0);
Tailwind
colors: {
  custom: {
    50: '#8870da',
    500: '#4237c8',
    950: '#000000',
  },
}
SCSS
$custom: #4237c8;
$custom-light: #8870da;
$custom-dark: #000000;
JSON
{
  "hex": "#4237c8",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 244.552,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.2134,
    "h": 277
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#4237C8
secondary
#C9CE8D
accent
#E048D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4237C8

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

Preview Lab → · Contrast checker → · Palette generator →

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