#4272C7#4272C7

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

Color values

HEX#4272C7
RGBrgb(66, 114, 199)
HSLhsl(218, 54%, 52%)
HSVhsv(218, 67%, 78%)
CMYKcmyk(66.8%, 42.7%, 0%, 22%)
CIE-LABlab(48.65, 11.45, -49.13)
CIE-LCHlch(48.65, 50.45, 283.11°)
OKLaboklab(56.1% -0.0224 -0.1403)
OKLCHoklch(56.1% 0.142 260.9)
XYZxyz(18.5692, 17.3146, 56.3852)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4272C7 #C79742
analogous
#42B5C7 #4272C7 #5542C7
triadic
#4272C7 #C74272 #72C742
tetradic
#4272C7 #C742B5 #C79742 #42C755
square
#4272C7 #C742B5 #C79742 #42C755
split-complementary
#4272C7 #C75542 #B5C742
monochromatic
#213D6E #2F579D #4272C7 #7195D5 #A0B8E3

Accessibility & contrast

On white

4.71
#4272C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4272C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4272C7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4272C7#FFFFFF#000000##FFFFFF
##4272C71.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)
#4A7ACA
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4272c7;
/* rgb */ color: rgb(66, 114, 199);
/* oklch */ color: oklch(56.1% 0.142 260.9);
Tailwind
colors: {
  custom: {
    50: '#849ad8',
    500: '#4272c7',
    950: '#000000',
  },
}
SCSS
$custom: #4272c7;
$custom-light: #849ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#4272c7",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 199
  },
  "hsl": {
    "h": 218.346,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56096,
    "c": 0.14203,
    "h": 260.9
  },
  "luminance": 0.17316
}

Semantic roles & 50–950 ramp

primary
#4272C7
secondary
#D0BA95
accent
#A84ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4272C7

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

Preview Lab → · Contrast checker → · Palette generator →

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