#4237CF#4237CF

#4237CF is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.0% C 0.222 H 276.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4237CF
RGBrgb(66, 55, 207)
HSLhsl(244, 61%, 51%)
HSVhsv(244, 73%, 81%)
CMYKcmyk(68.1%, 73.4%, 0%, 18.8%)
CIE-LABlab(34.79, 50.50, -76.27)
CIE-LCHlch(34.79, 91.47, 303.51°)
OKLaboklab(45.96% 0.0246 -0.2204)
OKLCHoklch(45.96% 0.222 276.4)
XYZxyz(14.8718, 8.3943, 59.8559)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237CF #C4CF37
analogous
#3778CF #4237CF #8E37CF
triadic
#4237CF #CF4237 #37CF42
tetradic
#4237CF #CF3778 #C4CF37 #37CF8E
square
#4237CF #CF3778 #C4CF37 #37CF8E
split-complementary
#4237CF #CF8E37 #78CF37
monochromatic
#211B71 #3027A2 #4237CF #7168DB #9F9AE7

Accessibility & contrast

On white

7.84
#4237CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4237CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237CF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237CF#FFFFFF#000000##FFFFFF
##4237CF1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#004BCC
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4237cf;
/* rgb */ color: rgb(66, 55, 207);
/* oklch */ color: oklch(46.0% 0.222 276.4);
Tailwind
colors: {
  custom: {
    50: '#8970df',
    500: '#4237cf',
    950: '#000000',
  },
}
SCSS
$custom: #4237cf;
$custom-light: #8970df;
$custom-dark: #000000;
JSON
{
  "hex": "#4237cf",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 244.342,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45963,
    "c": 0.22177,
    "h": 276.4
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#4237CF
secondary
#CED28F
accent
#E443D9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4237CF

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

Preview Lab → · Contrast checker → · Palette generator →

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