#4037BF#4037BF

#4037BF is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.203 H 277.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4037BF
RGBrgb(64, 55, 191)
HSLhsl(244, 55%, 48%)
HSVhsv(244, 71%, 75%)
CMYKcmyk(66.5%, 71.2%, 0%, 25.1%)
CIE-LABlab(33.10, 45.20, -69.71)
CIE-LCHlch(33.10, 83.08, 302.96°)
OKLaboklab(44.26% 0.025 -0.2013)
OKLCHoklch(44.26% 0.203 277.1)
XYZxyz(12.8815, 7.5828, 50.0649)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4037BF #B6BF37
analogous
#3772BF #4037BF #8437BF
triadic
#4037BF #BF4037 #37BF40
tetradic
#4037BF #BF3772 #B6BF37 #37BF84
square
#4037BF #BF3772 #B6BF37 #37BF84
split-complementary
#4037BF #BF8437 #72BF37
monochromatic
#201C60 #30298F #4037BF #6962D2 #9691DF

Accessibility & contrast

On white

8.34
#4037BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4037BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4037BF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4037BF#FFFFFF#000000##FFFFFF
##4037BF1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4037bf;
/* rgb */ color: rgb(64, 55, 191);
/* oklch */ color: oklch(44.3% 0.203 277.1);
Tailwind
colors: {
  custom: {
    50: '#856fd4',
    500: '#4037bf',
    950: '#000000',
  },
}
SCSS
$custom: #4037bf;
$custom-light: #856fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4037bf",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 243.971,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44256,
    "c": 0.20288,
    "h": 277.1
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

primary
#4037BF
secondary
#C6CA88
accent
#DF49D5
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4037BF

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

Preview Lab → · Contrast checker → · Palette generator →

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