#4037D0#4037D0

#4037D0 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.223 H 275.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4037D0
RGBrgb(64, 55, 208)
HSLhsl(244, 62%, 52%)
HSVhsv(244, 74%, 82%)
CMYKcmyk(69.2%, 73.6%, 0%, 18.4%)
CIE-LABlab(34.75, 50.61, -76.92)
CIE-LCHlch(34.75, 92.07, 303.35°)
OKLaboklab(45.93% 0.0219 -0.2223)
OKLCHoklch(45.93% 0.223 275.6)
XYZxyz(14.8620, 8.3750, 60.4956)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4037D0 #C7D037
analogous
#377BD0 #4037D0 #8C37D0
triadic
#4037D0 #D04037 #37D040
tetradic
#4037D0 #D0377B #C7D037 #37D08C
square
#4037D0 #D0377B #C7D037 #37D08C
split-complementary
#4037D0 #D08C37 #7BD037
monochromatic
#201B72 #2E26A3 #4037D0 #6F69DC #9F9AE7

Accessibility & contrast

On white

7.85
#4037D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4037D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4037D0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4037D0#FFFFFF#000000##FFFFFF
##4037D01.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D4
Deuteranopia (green-blind)
#004BCD
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4037d0;
/* rgb */ color: rgb(64, 55, 208);
/* oklch */ color: oklch(45.9% 0.223 275.6);
Tailwind
colors: {
  custom: {
    50: '#8970e0',
    500: '#4037d0',
    950: '#000000',
  },
}
SCSS
$custom: #4037d0;
$custom-light: #8970e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4037d0",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 243.529,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.22341,
    "h": 275.6
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#4037D0
secondary
#CFD390
accent
#E543DB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4037D0

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

Preview Lab → · Contrast checker → · Palette generator →

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