#4272BC#4272BC

#4272BC is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.4% C 0.127 H 258.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4272BC
RGBrgb(66, 114, 188)
HSLhsl(216, 48%, 50%)
HSVhsv(216, 65%, 74%)
CMYKcmyk(64.9%, 39.4%, 0%, 26.3%)
CIE-LABlab(48.04, 7.55, -43.79)
CIE-LCHlch(48.04, 44.44, 279.79°)
OKLaboklab(55.42% -0.0247 -0.1246)
OKLCHoklch(55.42% 0.127 258.8)
XYZxyz(17.3379, 16.8221, 49.9005)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4272BC #BC8C42
analogous
#42AFBC #4272BC #4F42BC
triadic
#4272BC #BC4272 #72BC42
tetradic
#4272BC #BC42AF #BC8C42 #42BC4F
square
#4272BC #BC42AF #BC8C42 #42BC4F
split-complementary
#4272BC #BC4F42 #AFBC42
monochromatic
#223B61 #32578F #4272BC #6F94CC #9CB5DC

Accessibility & contrast

On white

4.81
#4272BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4272BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4272BC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4272BC#FFFFFF#000000##FFFFFF
##4272BC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#3F6DBA
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4272bc;
/* rgb */ color: rgb(66, 114, 188);
/* oklch */ color: oklch(55.4% 0.127 258.8);
Tailwind
colors: {
  custom: {
    50: '#829ad0',
    500: '#4272bc',
    950: '#000000',
  },
}
SCSS
$custom: #4272bc;
$custom-light: #829ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4272bc",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 216.393,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55416,
    "c": 0.12701,
    "h": 258.8
  },
  "luminance": 0.16824
}

Semantic roles & 50–950 ramp

primary
#4272BC
secondary
#C9B391
accent
#A250D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4272BC

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

Preview Lab → · Contrast checker → · Palette generator →

#4272BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva