#4271AF#4271AF

#4271AF is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.4% C 0.110 H 255.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4271AF
RGBrgb(66, 113, 175)
HSLhsl(214, 45%, 47%)
HSVhsv(214, 62%, 69%)
CMYKcmyk(62.3%, 35.4%, 0%, 31.4%)
CIE-LABlab(47.06, 3.63, -37.80)
CIE-LCHlch(47.06, 37.98, 275.49°)
OKLaboklab(54.43% -0.0268 -0.1071)
OKLCHoklch(54.43% 0.11 255.9)
XYZxyz(15.8870, 16.0622, 42.8122)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4271AF #AF8042
analogous
#42A8AF #4271AF #4942AF
triadic
#4271AF #AF4271 #71AF42
tetradic
#4271AF #AF42A8 #AF8042 #42AF49
square
#4271AF #AF42A8 #AF8042 #42AF49
split-complementary
#4271AF #AF4942 #A8AF42
monochromatic
#203856 #315483 #4271AF #6891C6 #95B1D7

Accessibility & contrast

On white

4.98
#4271AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4271AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4271AF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4271AF#FFFFFF#000000##FFFFFF
##4271AF1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5775B2
Deuteranopia (green-blind)
#486BAE
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4271af;
/* rgb */ color: rgb(66, 113, 175);
/* oklch */ color: oklch(54.4% 0.110 255.9);
Tailwind
colors: {
  custom: {
    50: '#8099c7',
    500: '#4271af',
    950: '#000000',
  },
}
SCSS
$custom: #4271af;
$custom-light: #8099c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4271af",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 214.128,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54429,
    "c": 0.11039,
    "h": 255.9
  },
  "luminance": 0.16064
}

Semantic roles & 50–950 ramp

primary
#4271AF
secondary
#C2AA8A
accent
#9D53D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4271AF

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

Preview Lab → · Contrast checker → · Palette generator →

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