#4237B9#4237B9

#4237B9 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.8% C 0.195 H 278.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4237B9
RGBrgb(66, 55, 185)
HSLhsl(245, 54%, 47%)
HSVhsv(245, 70%, 73%)
CMYKcmyk(64.3%, 70.3%, 0%, 27.5%)
CIE-LABlab(32.68, 43.52, -66.85)
CIE-LCHlch(32.68, 79.77, 303.06°)
OKLaboklab(43.83% 0.0286 -0.1929)
OKLCHoklch(43.83% 0.195 278.4)
XYZxyz(12.3671, 7.3924, 46.6647)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237B9 #AEB937
analogous
#376DB9 #4237B9 #8337B9
triadic
#4237B9 #B94237 #37B942
tetradic
#4237B9 #B9376D #AEB937 #37B983
square
#4237B9 #B9376D #AEB937 #37B983
split-complementary
#4237B9 #B98337 #6DB937
monochromatic
#201B5B #31298A #4237B9 #685ECF #948DDD

Accessibility & contrast

On white

8.47
#4237B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4237B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237B9
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237B9#FFFFFF#000000##FFFFFF
##4237B91.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4237b9;
/* rgb */ color: rgb(66, 55, 185);
/* oklch */ color: oklch(43.8% 0.195 278.4);
Tailwind
colors: {
  custom: {
    50: '#856fcf',
    500: '#4237b9',
    950: '#000000',
  },
}
SCSS
$custom: #4237b9;
$custom-light: #856fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4237b9",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 245.077,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43827,
    "c": 0.19502,
    "h": 278.4
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#4237B9
secondary
#C2C884
accent
#DE4AD1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4237B9

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

Preview Lab → · Contrast checker → · Palette generator →

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