#4237B2#4237B2

#4237B2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.2% C 0.186 H 279.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4237B2
RGBrgb(66, 55, 178)
HSLhsl(245, 53%, 46%)
HSVhsv(245, 69%, 70%)
CMYKcmyk(62.9%, 69.1%, 0%, 30.2%)
CIE-LABlab(32.04, 41.26, -63.75)
CIE-LCHlch(32.04, 75.94, 302.91°)
OKLaboklab(43.17% 0.0297 -0.1838)
OKLCHoklch(43.17% 0.186 279.2)
XYZxyz(11.6463, 7.1041, 42.8683)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237B2 #A7B237
analogous
#3769B2 #4237B2 #7F37B2
triadic
#4237B2 #B24237 #37B242
tetradic
#4237B2 #B23769 #A7B237 #37B27F
square
#4237B2 #B23769 #A7B237 #37B27F
split-complementary
#4237B2 #B27F37 #69B237
monochromatic
#1F1A54 #312983 #4237B2 #645ACC #9089DB

Accessibility & contrast

On white

8.67
#4237B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4237B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237B2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237B2#FFFFFF#000000##FFFFFF
##4237B21.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4237b2;
/* rgb */ color: rgb(66, 55, 178);
/* oklch */ color: oklch(43.2% 0.186 279.2);
Tailwind
colors: {
  custom: {
    50: '#846fca',
    500: '#4237b2',
    950: '#000000',
  },
}
SCSS
$custom: #4237b2;
$custom-light: #846fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4237b2",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 245.366,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.18623,
    "h": 279.2
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#4237B2
secondary
#BEC580
accent
#DC4CCF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4237B2

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

Preview Lab → · Contrast checker → · Palette generator →

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