#4174CB#4174CB

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

Color values

HEX#4174CB
RGBrgb(65, 116, 203)
HSLhsl(218, 57%, 53%)
HSVhsv(218, 68%, 80%)
CMYKcmyk(68%, 42.9%, 0%, 20.4%)
CIE-LABlab(49.40, 11.47, -50.23)
CIE-LCHlch(49.40, 51.52, 282.86°)
OKLaboklab(56.74% -0.0243 -0.1435)
OKLCHoklch(56.74% 0.146 260.4)
XYZxyz(19.2010, 17.9245, 58.9362)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4174CB #CB9841
analogous
#41B9CB #4174CB #5341CB
triadic
#4174CB #CB4174 #74CB41
tetradic
#4174CB #CB41B9 #CB9841 #41CB53
square
#4174CB #CB41B9 #CB9841 #41CB53
split-complementary
#4174CB #CB5341 #B9CB41
monochromatic
#1F3E72 #2C58A2 #4174CB #7197D8 #A1BAE5

Accessibility & contrast

On white

4.58
#4174CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4174CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4174CB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4174CB#FFFFFF#000000##000000
##4174CB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCE
Deuteranopia (green-blind)
#3370C9
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4174cb;
/* rgb */ color: rgb(65, 116, 203);
/* oklch */ color: oklch(56.7% 0.146 260.4);
Tailwind
colors: {
  custom: {
    50: '#849bdb',
    500: '#4174cb',
    950: '#000000',
  },
}
SCSS
$custom: #4174cb;
$custom-light: #849bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4174cb",
  "rgb": {
    "r": 65,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 217.826,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.14551,
    "h": 260.4
  },
  "luminance": 0.17926
}

Semantic roles & 50–950 ramp

primary
#4174CB
secondary
#D2BC96
accent
#A848E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4174CB

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

Preview Lab → · Contrast checker → · Palette generator →

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