#4074E1#4074E1

#4074E1 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.2% C 0.175 H 262.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4074E1
RGBrgb(64, 116, 225)
HSLhsl(221, 73%, 57%)
HSVhsv(221, 72%, 88%)
CMYKcmyk(71.6%, 48.4%, 0%, 11.8%)
CIE-LABlab(50.70, 19.22, -60.62)
CIE-LCHlch(50.70, 63.60, 287.59°)
OKLaboklab(58.16% -0.0216 -0.174)
OKLCHoklch(58.16% 0.175 262.9)
XYZxyz(21.9455, 19.0147, 73.7332)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074E1 #E1AD40
analogous
#40C5E1 #4074E1 #5D40E1
triadic
#4074E1 #E14074 #74E140
tetradic
#4074E1 #E140C5 #E1AD40 #40E15D
square
#4074E1 #E140C5 #E1AD40 #40E15D
split-complementary
#4074E1 #E15D40 #C5E140
monochromatic
#173E90 #1F55C5 #4074E1 #759AE9 #AAC1F2

Accessibility & contrast

On white

4.37
#4074E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4074E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4074E1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074E1#FFFFFF#000000##000000
##4074E11.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E5
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4074e1;
/* rgb */ color: rgb(64, 116, 225);
/* oklch */ color: oklch(58.2% 0.175 262.9);
Tailwind
colors: {
  custom: {
    50: '#889beb',
    500: '#4074e1',
    950: '#000000',
  },
}
SCSS
$custom: #4074e1;
$custom-light: #889beb;
$custom-dark: #000000;
JSON
{
  "hex": "#4074e1",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 220.621,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58158,
    "c": 0.17537,
    "h": 262.9
  },
  "luminance": 0.19017
}

Semantic roles & 50–950 ramp

primary
#4074E1
secondary
#DFCA9D
accent
#B438F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4074E1

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

Preview Lab → · Contrast checker → · Palette generator →

#4074E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva