#4037BC#4037BC

#4037BC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.199 H 277.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4037BC
RGBrgb(64, 55, 188)
HSLhsl(244, 55%, 48%)
HSVhsv(244, 71%, 74%)
CMYKcmyk(66%, 70.7%, 0%, 26.3%)
CIE-LABlab(32.81, 44.23, -68.41)
CIE-LCHlch(32.81, 81.47, 302.88°)
OKLaboklab(43.97% 0.0255 -0.1975)
OKLCHoklch(43.97% 0.199 277.4)
XYZxyz(12.5547, 7.4521, 48.3440)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4037BC #B3BC37
analogous
#3771BC #4037BC #8237BC
triadic
#4037BC #BC4037 #37BC40
tetradic
#4037BC #BC3771 #B3BC37 #37BC82
square
#4037BC #BC3771 #B3BC37 #37BC82
split-complementary
#4037BC #BC8237 #71BC37
monochromatic
#201B5D #30298D #4037BC #6760D0 #948FDE

Accessibility & contrast

On white

8.43
#4037BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4037BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4037BC
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4037BC#FFFFFF#000000##FFFFFF
##4037BC1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4037bc;
/* rgb */ color: rgb(64, 55, 188);
/* oklch */ color: oklch(44.0% 0.199 277.4);
Tailwind
colors: {
  custom: {
    50: '#856fd1',
    500: '#4037bc',
    950: '#000000',
  },
}
SCSS
$custom: #4037bc;
$custom-light: #856fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4037bc",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 244.06,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43967,
    "c": 0.19917,
    "h": 277.4
  },
  "luminance": 0.07453
}

Semantic roles & 50–950 ramp

primary
#4037BC
secondary
#C4C986
accent
#DE4AD4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4037BC

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

Preview Lab → · Contrast checker → · Palette generator →

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