#4174E4#4174E4

#4174E4 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.4% C 0.179 H 263.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4174E4
RGBrgb(65, 116, 228)
HSLhsl(221, 75%, 57%)
HSVhsv(221, 71%, 89%)
CMYKcmyk(71.5%, 49.1%, 0%, 10.6%)
CIE-LABlab(50.94, 20.44, -61.93)
CIE-LCHlch(50.94, 65.22, 288.26°)
OKLaboklab(58.41% -0.0204 -0.1779)
OKLCHoklch(58.41% 0.179 263.5)
XYZxyz(22.4240, 19.2136, 75.9106)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174E4 #E4B141
analogous
#41C5E4 #4174E4 #6041E4
triadic
#4174E4 #E44174 #74E441
tetradic
#4174E4 #E441C5 #E4B141 #41E460
square
#4174E4 #E441C5 #E4B141 #41E460
split-complementary
#4174E4 #E46041 #C5E441
monochromatic
#153D95 #1D53CB #4174E4 #779BEC #ACC2F3

Accessibility & contrast

On white

4.34
#4174E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4174E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4174E4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174E4#FFFFFF#000000##000000
##4174E41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3381E8
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4174e4;
/* rgb */ color: rgb(65, 116, 228);
/* oklch */ color: oklch(58.4% 0.179 263.5);
Tailwind
colors: {
  custom: {
    50: '#899bed',
    500: '#4174e4',
    950: '#000000',
  },
}
SCSS
$custom: #4174e4;
$custom-light: #899bed;
$custom-dark: #000000;
JSON
{
  "hex": "#4174e4",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 221.227,
    "s": 75.115,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58407,
    "c": 0.17906,
    "h": 263.5
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#4174E4
secondary
#E1CD9F
accent
#B736F2
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4174E4

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

Preview Lab → · Contrast checker → · Palette generator →

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