#4174CE#4174CE

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

Color values

HEX#4174CE
RGBrgb(65, 116, 206)
HSLhsl(218, 59%, 53%)
HSVhsv(218, 68%, 81%)
CMYKcmyk(68.4%, 43.7%, 0%, 19.2%)
CIE-LABlab(49.58, 12.54, -51.66)
CIE-LCHlch(49.58, 53.16, 283.64°)
OKLaboklab(56.93% -0.0238 -0.1477)
OKLCHoklch(56.93% 0.15 260.9)
XYZxyz(19.5620, 18.0688, 60.8373)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174CE #CE9B41
analogous
#41BACE #4174CE #5441CE
triadic
#4174CE #CE4174 #74CE41
tetradic
#4174CE #CE41BA #CE9B41 #41CE54
square
#4174CE #CE41BA #CE9B41 #41CE54
split-complementary
#4174CE #CE5441 #BACE41
monochromatic
#1E3E76 #2B58A7 #4174CE #7298DB #A2BBE7

Accessibility & contrast

On white

4.55
#4174CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4174CE#FFFFFF#000000##000000
##4174CE1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4174ce;
/* rgb */ color: rgb(65, 116, 206);
/* oklch */ color: oklch(56.9% 0.150 260.9);
Tailwind
colors: {
  custom: {
    50: '#859bdd',
    500: '#4174ce',
    950: '#000000',
  },
}
SCSS
$custom: #4174ce;
$custom-light: #859bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4174ce",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 218.298,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56931,
    "c": 0.14957,
    "h": 260.9
  },
  "luminance": 0.18071
}

Semantic roles & 50–950 ramp

primary
#4174CE
secondary
#D4BE97
accent
#AA46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4174CE

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

Preview Lab → · Contrast checker → · Palette generator →

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