#4174EA#4174EA

#4174EA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.8% C 0.187 H 264.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4174EA
RGBrgb(65, 116, 234)
HSLhsl(222, 80%, 59%)
HSVhsv(222, 72%, 92%)
CMYKcmyk(72.2%, 50.4%, 0%, 8.2%)
CIE-LABlab(51.33, 22.59, -64.67)
CIE-LCHlch(51.33, 68.50, 289.26°)
OKLaboklab(58.83% -0.0197 -0.1859)
OKLCHoklch(58.83% 0.187 264)
XYZxyz(23.2714, 19.5526, 80.3735)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174EA #EAB741
analogous
#41C9EA #4174EA #6241EA
triadic
#4174EA #EA4174 #74EA41
tetradic
#4174EA #EA41C9 #EAB741 #41EA62
square
#4174EA #EA41C9 #EAB741 #41EA62
split-complementary
#4174EA #EA6241 #C9EA41
monochromatic
#123C9F #1851D6 #4174EA #789CF0 #AFC5F6

Accessibility & contrast

On white

4.28
#4174EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4174EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4174EA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174EA#FFFFFF#000000##000000
##4174EA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82EE
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4174ea;
/* rgb */ color: rgb(65, 116, 234);
/* oklch */ color: oklch(58.8% 0.187 264.0);
Tailwind
colors: {
  custom: {
    50: '#8a9bf1',
    500: '#4174ea',
    950: '#000000',
  },
}
SCSS
$custom: #4174ea;
$custom-light: #8a9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4174ea",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 221.893,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58831,
    "c": 0.18698,
    "h": 264
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#4174EA
secondary
#E5D1A2
accent
#BB31F7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4174EA

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

Preview Lab → · Contrast checker → · Palette generator →

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