#4179CB#4179CB

#4179CB is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.8% C 0.140 H 258.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4179CB
RGBrgb(65, 121, 203)
HSLhsl(216, 57%, 53%)
HSVhsv(216, 68%, 80%)
CMYKcmyk(68%, 40.4%, 0%, 20.4%)
CIE-LABlab(50.81, 8.38, -47.98)
CIE-LCHlch(50.81, 48.70, 279.90°)
OKLaboklab(57.83% -0.0291 -0.1368)
OKLCHoklch(57.83% 0.14 258)
XYZxyz(19.7929, 19.1083, 59.1335)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4179CB #CB9341
analogous
#41BECB #4179CB #4E41CB
triadic
#4179CB #CB4179 #79CB41
tetradic
#4179CB #CB41BE #CB9341 #41CB4E
square
#4179CB #CB41BE #CB9341 #41CB4E
split-complementary
#4179CB #CB4E41 #BECB41
monochromatic
#1F4172 #2C5CA2 #4179CB #719BD8 #A1BDE5

Accessibility & contrast

On white

4.36
#4179CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4179CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4179CB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4179CB#FFFFFF#000000##000000
##4179CB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4179cb;
/* rgb */ color: rgb(65, 121, 203);
/* oklch */ color: oklch(57.8% 0.140 258.0);
Tailwind
colors: {
  custom: {
    50: '#849fdb',
    500: '#4179cb',
    950: '#000000',
  },
}
SCSS
$custom: #4179cb;
$custom-light: #849fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4179cb",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 215.652,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5783,
    "c": 0.13985,
    "h": 258
  },
  "luminance": 0.1911
}

Semantic roles & 50–950 ramp

primary
#4179CB
secondary
#D2BA96
accent
#A248E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4179CB

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

Preview Lab → · Contrast checker → · Palette generator →

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