#4074E6#4074E6

#4074E6 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.182 H 263.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4074E6
RGBrgb(64, 116, 230)
HSLhsl(221, 77%, 58%)
HSVhsv(221, 72%, 90%)
CMYKcmyk(72.2%, 49.6%, 0%, 9.8%)
CIE-LABlab(51.03, 21.03, -62.91)
CIE-LCHlch(51.03, 66.33, 288.48°)
OKLaboklab(58.51% -0.0209 -0.1808)
OKLCHoklch(58.51% 0.182 263.4)
XYZxyz(22.6376, 19.2915, 77.3781)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074E6 #E6B240
analogous
#40C7E6 #4074E6 #5F40E6
triadic
#4074E6 #E64074 #74E640
tetradic
#4074E6 #E640C7 #E6B240 #40E65F
square
#4074E6 #E640C7 #E6B240 #40E65F
split-complementary
#4074E6 #E65F40 #C7E640
monochromatic
#143D98 #1B53CE #4074E6 #769BED #ACC3F4

Accessibility & contrast

On white

4.32
#4074E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4074E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4074E6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074E6#FFFFFF#000000##000000
##4074E61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EA
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4074e6;
/* rgb */ color: rgb(64, 116, 230);
/* oklch */ color: oklch(58.5% 0.182 263.4);
Tailwind
colors: {
  custom: {
    50: '#899bef',
    500: '#4074e6',
    950: '#000000',
  },
}
SCSS
$custom: #4074e6;
$custom-light: #899bef;
$custom-dark: #000000;
JSON
{
  "hex": "#4074e6",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 230
  },
  "hsl": {
    "h": 221.205,
    "s": 76.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58507,
    "c": 0.182,
    "h": 263.4
  },
  "luminance": 0.19294
}

Semantic roles & 50–950 ramp

primary
#4074E6
secondary
#E2CD9F
accent
#B834F3
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4074E6

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

Preview Lab → · Contrast checker → · Palette generator →

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