#4174D2#4174D2

#4174D2 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.2% C 0.155 H 261.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4174D2
RGBrgb(65, 116, 210)
HSLhsl(219, 62%, 54%)
HSVhsv(219, 69%, 82%)
CMYKcmyk(69%, 44.8%, 0%, 17.6%)
CIE-LABlab(49.82, 13.97, -53.56)
CIE-LCHlch(49.82, 55.35, 284.62°)
OKLaboklab(57.19% -0.0231 -0.1532)
OKLCHoklch(57.19% 0.155 261.4)
XYZxyz(20.0541, 18.2657, 63.4290)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174D2 #D29F41
analogous
#41BCD2 #4174D2 #5741D2
triadic
#4174D2 #D24174 #74D241
tetradic
#4174D2 #D241BC #D29F41 #41D257
square
#4174D2 #D241BC #D29F41 #41D257
split-complementary
#4174D2 #D25741 #BCD241
monochromatic
#1D3E7B #2957AD #4174D2 #7298DE #A4BCE9

Accessibility & contrast

On white

4.51
#4174D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4174D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4174D2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174D2#FFFFFF#000000##000000
##4174D21.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ED6
Deuteranopia (green-blind)
#2A70D0
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4174d2;
/* rgb */ color: rgb(65, 116, 210);
/* oklch */ color: oklch(57.2% 0.155 261.4);
Tailwind
colors: {
  custom: {
    50: '#869be0',
    500: '#4174d2',
    950: '#000000',
  },
}
SCSS
$custom: #4174d2;
$custom-light: #869be0;
$custom-dark: #000000;
JSON
{
  "hex": "#4174d2",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 210
  },
  "hsl": {
    "h": 218.897,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5719,
    "c": 0.15497,
    "h": 261.4
  },
  "luminance": 0.18268
}

Semantic roles & 50–950 ramp

primary
#4174D2
secondary
#D6C198
accent
#AC43E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4174D2

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

Preview Lab → · Contrast checker → · Palette generator →

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