#4074D9#4074D9

#4074D9 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.6% C 0.165 H 262.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4074D9
RGBrgb(64, 116, 217)
HSLhsl(220, 67%, 55%)
HSVhsv(220, 71%, 85%)
CMYKcmyk(70.5%, 46.5%, 0%, 14.9%)
CIE-LABlab(50.20, 16.34, -56.91)
CIE-LCHlch(50.20, 59.21, 286.02°)
OKLaboklab(57.61% -0.0227 -0.1631)
OKLCHoklch(57.61% 0.165 262.1)
XYZxyz(20.8797, 18.5883, 68.1197)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074D9 #D9A540
analogous
#40C0D9 #4074D9 #5940D9
triadic
#4074D9 #D94074 #74D940
tetradic
#4074D9 #D940C0 #D9A540 #40D959
square
#4074D9 #D940C0 #D9A540 #40D959
split-complementary
#4074D9 #D95940 #C0D940
monochromatic
#1A3E84 #2456B7 #4074D9 #7399E3 #A6BEED

Accessibility & contrast

On white

4.45
#4074D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4074D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4074D9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074D9#FFFFFF#000000##000000
##4074D91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDD
Deuteranopia (green-blind)
#1B71D7
Tritanopia (blue-blind)
#008C9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4074d9;
/* rgb */ color: rgb(64, 116, 217);
/* oklch */ color: oklch(57.6% 0.165 262.1);
Tailwind
colors: {
  custom: {
    50: '#879be5',
    500: '#4074d9',
    950: '#000000',
  },
}
SCSS
$custom: #4074d9;
$custom-light: #879be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4074d9",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 217
  },
  "hsl": {
    "h": 219.608,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57612,
    "c": 0.1647,
    "h": 262.1
  },
  "luminance": 0.18591
}

Semantic roles & 50–950 ramp

primary
#4074D9
secondary
#DAC59A
accent
#AF3EEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #4074D9

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

Preview Lab → · Contrast checker → · Palette generator →

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