#4173CB#4173CB

#4173CB is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.5% C 0.147 H 260.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4173CB
RGBrgb(65, 115, 203)
HSLhsl(218, 57%, 53%)
HSVhsv(218, 68%, 80%)
CMYKcmyk(68%, 43.3%, 0%, 20.4%)
CIE-LABlab(49.12, 12.09, -50.68)
CIE-LCHlch(49.12, 52.10, 283.42°)
OKLaboklab(56.52% -0.0234 -0.1448)
OKLCHoklch(56.52% 0.147 260.8)
XYZxyz(19.0864, 17.6952, 58.8980)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4173CB #CB9941
analogous
#41B8CB #4173CB #5441CB
triadic
#4173CB #CB4173 #73CB41
tetradic
#4173CB #CB41B8 #CB9941 #41CB54
square
#4173CB #CB41B8 #CB9941 #41CB54
split-complementary
#4173CB #CB5441 #B8CB41
monochromatic
#1F3D72 #2C57A2 #4173CB #7196D8 #A1BAE5

Accessibility & contrast

On white

4.63
#4173CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4173CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4173CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4173CB#FFFFFF#000000##FFFFFF
##4173CB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497CCE
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4173cb;
/* rgb */ color: rgb(65, 115, 203);
/* oklch */ color: oklch(56.5% 0.147 260.8);
Tailwind
colors: {
  custom: {
    50: '#849adb',
    500: '#4173cb',
    950: '#000000',
  },
}
SCSS
$custom: #4173cb;
$custom-light: #849adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4173cb",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 218.261,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.14667,
    "h": 260.8
  },
  "luminance": 0.17697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4173CB

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

Preview Lab → · Contrast checker → · Palette generator →

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