#4074C9#4074C9

#4074C9 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.6% C 0.143 H 259.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4074C9
RGBrgb(64, 116, 201)
HSLhsl(217, 56%, 52%)
HSVhsv(217, 68%, 79%)
CMYKcmyk(68.2%, 42.3%, 0%, 21.2%)
CIE-LABlab(49.25, 10.59, -49.34)
CIE-LCHlch(49.25, 50.46, 282.12°)
OKLaboklab(56.57% -0.0255 -0.1409)
OKLCHoklch(56.57% 0.143 259.7)
XYZxyz(18.8986, 17.7959, 57.6860)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074C9 #C99540
analogous
#40B9C9 #4074C9 #5140C9
triadic
#4074C9 #C94074 #74C940
tetradic
#4074C9 #C940B9 #C99540 #40C951
square
#4074C9 #C940B9 #C99540 #40C951
split-complementary
#4074C9 #C95140 #B9C940
monochromatic
#1F3E6F #2D589F #4074C9 #7097D6 #9FB9E4

Accessibility & contrast

On white

4.61
#4074C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4074C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4074C9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074C9#FFFFFF#000000##FFFFFF
##4074C91.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCC
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4074c9;
/* rgb */ color: rgb(64, 116, 201);
/* oklch */ color: oklch(56.6% 0.143 259.7);
Tailwind
colors: {
  custom: {
    50: '#849bda',
    500: '#4074c9',
    950: '#000000',
  },
}
SCSS
$custom: #4074c9;
$custom-light: #849bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4074c9",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 201
  },
  "hsl": {
    "h": 217.226,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56569,
    "c": 0.14315,
    "h": 259.7
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#4074C9
secondary
#D0BA94
accent
#A649DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4074C9

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

Preview Lab → · Contrast checker → · Palette generator →

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