#4174CF#4174CF

#4174CF is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.0% C 0.151 H 261.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4174CF
RGBrgb(65, 116, 207)
HSLhsl(218, 60%, 53%)
HSVhsv(218, 69%, 81%)
CMYKcmyk(68.6%, 44%, 0%, 18.8%)
CIE-LABlab(49.64, 12.90, -52.14)
CIE-LCHlch(49.64, 53.71, 283.89°)
OKLaboklab(57% -0.0236 -0.1491)
OKLCHoklch(57% 0.151 261)
XYZxyz(19.6838, 18.1176, 61.4791)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174CF #CF9C41
analogous
#41BBCF #4174CF #5541CF
triadic
#4174CF #CF4174 #74CF41
tetradic
#4174CF #CF41BB #CF9C41 #41CF55
square
#4174CF #CF41BB #CF9C41 #41CF55
split-complementary
#4174CF #CF5541 #BBCF41
monochromatic
#1E3E77 #2B58A8 #4174CF #7298DB #A3BBE8

Accessibility & contrast

On white

4.54
#4174CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4174CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4174CF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174CF#FFFFFF#000000##000000
##4174CF1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4174cf;
/* rgb */ color: rgb(65, 116, 207);
/* oklch */ color: oklch(57.0% 0.151 261.0);
Tailwind
colors: {
  custom: {
    50: '#859bde',
    500: '#4174cf',
    950: '#000000',
  },
}
SCSS
$custom: #4174cf;
$custom-light: #859bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4174cf",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 218.451,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56995,
    "c": 0.15092,
    "h": 261
  },
  "luminance": 0.1812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4174CF

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

Preview Lab → · Contrast checker → · Palette generator →

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