#4081DE#4081DE

#4081DE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.156 H 257.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4081DE
RGBrgb(64, 129, 222)
HSLhsl(215, 71%, 56%)
HSVhsv(215, 71%, 87%)
CMYKcmyk(71.2%, 41.9%, 0%, 12.9%)
CIE-LABlab(54.09, 10.11, -53.50)
CIE-LCHlch(54.09, 54.45, 280.70°)
OKLaboklab(60.71% -0.0333 -0.1529)
OKLCHoklch(60.71% 0.156 257.7)
XYZxyz(23.1446, 22.0619, 72.1317)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4081DE #DE9D40
analogous
#40D0DE #4081DE #4E40DE
triadic
#4081DE #DE4081 #81DE40
tetradic
#4081DE #DE40D0 #DE9D40 #40DE4E
square
#4081DE #DE40D0 #DE9D40 #40DE4E
split-complementary
#4081DE #DE4E40 #D0DE40
monochromatic
#18488B #2162C0 #4081DE #74A3E7 #A8C6F0

Accessibility & contrast

On white

3.88
#4081DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4081DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4081DE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4081DE#FFFFFF#000000##000000
##4081DE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E2
Deuteranopia (green-blind)
#397BDC
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4081de;
/* rgb */ color: rgb(64, 129, 222);
/* oklch */ color: oklch(60.7% 0.156 257.7);
Tailwind
colors: {
  custom: {
    50: '#87a5e9',
    500: '#4081de',
    950: '#000000',
  },
}
SCSS
$custom: #4081de;
$custom-light: #87a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4081de",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 222
  },
  "hsl": {
    "h": 215.316,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60708,
    "c": 0.15647,
    "h": 257.7
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#4081DE
secondary
#DEC39C
accent
#A43AED
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4081DE

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

Preview Lab → · Contrast checker → · Palette generator →

#4081DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva