#4074CE#4074CE

#4074CE is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.9% C 0.150 H 260.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4074CE
RGBrgb(64, 116, 206)
HSLhsl(218, 59%, 53%)
HSVhsv(218, 69%, 81%)
CMYKcmyk(68.9%, 43.7%, 0%, 19.2%)
CIE-LABlab(49.54, 12.38, -51.73)
CIE-LCHlch(49.54, 53.19, 283.46°)
OKLaboklab(56.89% -0.0245 -0.1479)
OKLCHoklch(56.89% 0.15 260.6)
XYZxyz(19.4963, 18.0350, 60.8342)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4074CE #CE9A40
analogous
#40BBCE #4074CE #5340CE
triadic
#4074CE #CE4074 #74CE40
tetradic
#4074CE #CE40BB #CE9A40 #40CE53
square
#4074CE #CE40BB #CE9A40 #40CE53
split-complementary
#4074CE #CE5340 #BBCE40
monochromatic
#1E3E75 #2B58A6 #4074CE #7197DA #A1BBE7

Accessibility & contrast

On white

4.56
#4074CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4074CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4074CE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4074CE#FFFFFF#000000##000000
##4074CE1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD1
Deuteranopia (green-blind)
#2F70CC
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4074ce;
/* rgb */ color: rgb(64, 116, 206);
/* oklch */ color: oklch(56.9% 0.150 260.6);
Tailwind
colors: {
  custom: {
    50: '#859bdd',
    500: '#4074ce',
    950: '#000000',
  },
}
SCSS
$custom: #4074ce;
$custom-light: #859bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4074ce",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 218.028,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56888,
    "c": 0.1499,
    "h": 260.6
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#4074CE
secondary
#D4BD96
accent
#A945E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4074CE

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

Preview Lab → · Contrast checker → · Palette generator →

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