#4271FF#4271FF

#4271FF is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 59.8% C 0.217 H 266.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4271FF
RGBrgb(66, 113, 255)
HSLhsl(225, 100%, 63%)
HSVhsv(225, 74%, 100%)
CMYKcmyk(74.1%, 55.7%, 0%, 0%)
CIE-LABlab(52.05, 32.08, -75.19)
CIE-LCHlch(52.05, 81.75, 293.11°)
OKLaboklab(59.84% -0.0151 -0.2169)
OKLCHoklch(59.84% 0.217 266)
XYZxyz(26.1956, 20.1856, 97.1040)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271FF #FFD042
analogous
#42D0FF #4271FF #7142FF
triadic
#4271FF #FF4271 #71FF42
tetradic
#4271FF #FF42D0 #FFD042 #42FF71
square
#4271FF #FF42D0 #FFD042 #42FF71
split-complementary
#4271FF #FF7142 #D0FF42
monochromatic
#0031C7 #0543FF #4271FF #7F9FFF #BCCDFF

Accessibility & contrast

On white

4.17
#4271FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4271FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4271FF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271FF#FFFFFF#000000##000000
##4271FF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0074FC
Tritanopia (blue-blind)
#0094AD
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4271ff;
/* rgb */ color: rgb(66, 113, 255);
/* oklch */ color: oklch(59.8% 0.217 266.0);
Tailwind
colors: {
  custom: {
    50: '#8f99ff',
    500: '#4271ff',
    950: '#000000',
  },
}
SCSS
$custom: #4271ff;
$custom-light: #8f99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4271ff",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 225.079,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59844,
    "c": 0.21743,
    "h": 266
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#4271FF
secondary
#F0DFAC
accent
#AC00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D18
muted
#7E7E86

Preview Lab

Preview with #4271FF

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

Preview Lab → · Contrast checker → · Palette generator →

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