#4271CB#4271CB

#4271CB is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.1% C 0.149 H 262.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4271CB
RGBrgb(66, 113, 203)
HSLhsl(219, 57%, 53%)
HSVhsv(219, 67%, 80%)
CMYKcmyk(67.5%, 44.3%, 0%, 20.4%)
CIE-LABlab(48.61, 13.49, -51.50)
CIE-LCHlch(48.61, 53.24, 284.68°)
OKLaboklab(56.14% -0.0207 -0.1472)
OKLCHoklch(56.14% 0.149 262)
XYZxyz(18.9276, 17.2784, 58.8259)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271CB #CB9C42
analogous
#42B5CB #4271CB #5742CB
triadic
#4271CB #CB4271 #71CB42
tetradic
#4271CB #CB42B5 #CB9C42 #42CB57
square
#4271CB #CB42B5 #CB9C42 #42CB57
split-complementary
#4271CB #CB5742 #B5CB42
monochromatic
#203C73 #2D55A3 #4271CB #7295D8 #A2B9E5

Accessibility & contrast

On white

4.71
#4271CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4271CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4271CB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271CB#FFFFFF#000000##FFFFFF
##4271CB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457ACE
Deuteranopia (green-blind)
#2D6EC9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4271cb;
/* rgb */ color: rgb(66, 113, 203);
/* oklch */ color: oklch(56.1% 0.149 262.0);
Tailwind
colors: {
  custom: {
    50: '#8599db',
    500: '#4271cb',
    950: '#000000',
  },
}
SCSS
$custom: #4271cb;
$custom-light: #8599db;
$custom-dark: #000000;
JSON
{
  "hex": "#4271cb",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 219.416,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.14867,
    "h": 262
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#4271CB
secondary
#D2BE97
accent
#AC48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4271CB

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

Preview Lab → · Contrast checker → · Palette generator →

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