#4174CA#4174CA

#4174CA is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.7% C 0.144 H 260.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4174CA
RGBrgb(65, 116, 202)
HSLhsl(218, 56%, 52%)
HSVhsv(218, 68%, 79%)
CMYKcmyk(67.8%, 42.6%, 0%, 20.8%)
CIE-LABlab(49.35, 11.11, -49.75)
CIE-LCHlch(49.35, 50.97, 282.59°)
OKLaboklab(56.68% -0.0245 -0.142)
OKLCHoklch(56.68% 0.144 260.2)
XYZxyz(19.0822, 17.8769, 58.3106)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174CA #CA9741
analogous
#41B9CA #4174CA #5241CA
triadic
#4174CA #CA4174 #74CA41
tetradic
#4174CA #CA41B9 #CA9741 #41CA52
square
#4174CA #CA41B9 #CA9741 #41CA52
split-complementary
#4174CA #CA5241 #B9CA41
monochromatic
#203E71 #2D58A1 #4174CA #7197D7 #A1BAE5

Accessibility & contrast

On white

4.59
#4174CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4174CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4174CA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174CA#FFFFFF#000000##FFFFFF
##4174CA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#356FC8
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4174ca;
/* rgb */ color: rgb(65, 116, 202);
/* oklch */ color: oklch(56.7% 0.144 260.2);
Tailwind
colors: {
  custom: {
    50: '#849bda',
    500: '#4174ca',
    950: '#000000',
  },
}
SCSS
$custom: #4174ca;
$custom-light: #849bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4174ca",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 217.664,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.14415,
    "h": 260.2
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#4174CA
secondary
#D1BB96
accent
#A748E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4174CA

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

Preview Lab → · Contrast checker → · Palette generator →

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