#4271B9#4271B9

#4271B9 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.0% C 0.124 H 258.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4271B9
RGBrgb(66, 113, 185)
HSLhsl(216, 47%, 49%)
HSVhsv(216, 64%, 73%)
CMYKcmyk(64.3%, 38.9%, 0%, 27.5%)
CIE-LABlab(47.58, 7.12, -42.77)
CIE-LCHlch(47.58, 43.36, 279.45°)
OKLaboklab(55.01% -0.0243 -0.1216)
OKLCHoklch(55.01% 0.124 258.7)
XYZxyz(16.9057, 16.4697, 48.1776)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271B9 #B98A42
analogous
#42ACB9 #4271B9 #4F42B9
triadic
#4271B9 #B94271 #71B942
tetradic
#4271B9 #B942AC #B98A42 #42B94F
square
#4271B9 #B942AC #B98A42 #42B94F
split-complementary
#4271B9 #B94F42 #ACB942
monochromatic
#223A5F #32558C #4271B9 #6D92CB #9AB4DB

Accessibility & contrast

On white

4.89
#4271B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4271B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4271B9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271B9#FFFFFF#000000##FFFFFF
##4271B91.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5177BC
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4271b9;
/* rgb */ color: rgb(66, 113, 185);
/* oklch */ color: oklch(55.0% 0.124 258.7);
Tailwind
colors: {
  custom: {
    50: '#8299ce',
    500: '#4271b9',
    950: '#000000',
  },
}
SCSS
$custom: #4271b9;
$custom-light: #8299ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4271b9",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 185
  },
  "hsl": {
    "h": 216.303,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.12403,
    "h": 258.7
  },
  "luminance": 0.16471
}

Semantic roles & 50–950 ramp

primary
#4271B9
secondary
#C7B190
accent
#A251D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #4271B9

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

Preview Lab → · Contrast checker → · Palette generator →

#4271B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva