#4074DD#4074DD

#4074DD is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.9% C 0.170 H 262.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4074DD
RGBrgb(64, 116, 221)
HSLhsl(220, 70%, 56%)
HSVhsv(220, 71%, 87%)
CMYKcmyk(71%, 47.5%, 0%, 13.3%)
CIE-LABlab(50.45, 17.78, -58.77)
CIE-LCHlch(50.45, 61.40, 286.83°)
OKLaboklab(57.88% -0.0221 -0.1686)
OKLCHoklch(57.88% 0.17 262.5)
XYZxyz(21.4062, 18.7990, 70.8930)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074DD #DDA940
analogous
#40C3DD #4074DD #5A40DD
triadic
#4074DD #DD4074 #74DD40
tetradic
#4074DD #DD40C3 #DDA940 #40DD5A
square
#4074DD #DD40C3 #DDA940 #40DD5A
split-complementary
#4074DD #DD5A40 #C3DD40
monochromatic
#193E8A #2256BE #4074DD #749AE6 #A8C0EF

Accessibility & contrast

On white

4.41
#4074DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4074DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4074DD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074DD#FFFFFF#000000##000000
##4074DD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E1
Deuteranopia (green-blind)
#0E71DB
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4074dd;
/* rgb */ color: rgb(64, 116, 221);
/* oklch */ color: oklch(57.9% 0.170 262.5);
Tailwind
colors: {
  custom: {
    50: '#879be8',
    500: '#4074dd',
    950: '#000000',
  },
}
SCSS
$custom: #4074dd;
$custom-light: #879be8;
$custom-dark: #000000;
JSON
{
  "hex": "#4074dd",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 220.127,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57883,
    "c": 0.17005,
    "h": 262.5
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

primary
#4074DD
secondary
#DDC79C
accent
#B23BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4074DD

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

Preview Lab → · Contrast checker → · Palette generator →

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