#4237BF#4237BF

#4237BF is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.4% C 0.202 H 277.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4237BF
RGBrgb(66, 55, 191)
HSLhsl(245, 55%, 48%)
HSVhsv(245, 71%, 75%)
CMYKcmyk(65.4%, 71.2%, 0%, 25.1%)
CIE-LABlab(33.25, 45.44, -69.47)
CIE-LCHlch(33.25, 83.01, 303.19°)
OKLaboklab(44.4% 0.0276 -0.2006)
OKLCHoklch(44.4% 0.202 277.8)
XYZxyz(13.0139, 7.6511, 50.0711)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237BF #B4BF37
analogous
#3770BF #4237BF #8637BF
triadic
#4237BF #BF4237 #37BF42
tetradic
#4237BF #BF3770 #B4BF37 #37BF86
square
#4237BF #BF3770 #B4BF37 #37BF86
split-complementary
#4237BF #BF8637 #70BF37
monochromatic
#211C60 #32298F #4237BF #6B62D2 #9791DF

Accessibility & contrast

On white

8.30
#4237BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4237BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237BF
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237BF#FFFFFF#000000##FFFFFF
##4237BF1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0048BC
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4237bf;
/* rgb */ color: rgb(66, 55, 191);
/* oklch */ color: oklch(44.4% 0.202 277.8);
Tailwind
colors: {
  custom: {
    50: '#8670d3',
    500: '#4237bf',
    950: '#000000',
  },
}
SCSS
$custom: #4237bf;
$custom-light: #8670d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4237bf",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 244.853,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44399,
    "c": 0.20245,
    "h": 277.8
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4237BF

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

Preview Lab → · Contrast checker → · Palette generator →

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