#4272BF#4272BF

#4272BF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.6% C 0.131 H 259.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4272BF
RGBrgb(66, 114, 191)
HSLhsl(217, 49%, 50%)
HSVhsv(217, 65%, 75%)
CMYKcmyk(65.4%, 40.3%, 0%, 25.1%)
CIE-LABlab(48.20, 8.61, -45.26)
CIE-LCHlch(48.20, 46.07, 280.77°)
OKLaboklab(55.6% -0.024 -0.1289)
OKLCHoklch(55.6% 0.131 259.4)
XYZxyz(17.6647, 16.9528, 51.6214)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4272BF #BF8F42
analogous
#42B0BF #4272BF #5042BF
triadic
#4272BF #BF4272 #72BF42
tetradic
#4272BF #BF42B0 #BF8F42 #42BF50
square
#4272BF #BF42B0 #BF8F42 #42BF50
split-complementary
#4272BF #BF5042 #B0BF42
monochromatic
#223C65 #325792 #4272BF #7094CE #9DB6DE

Accessibility & contrast

On white

4.78
#4272BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4272BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4272BF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4272BF#FFFFFF#000000##FFFFFF
##4272BF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#3D6DBD
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4272bf;
/* rgb */ color: rgb(66, 114, 191);
/* oklch */ color: oklch(55.6% 0.131 259.4);
Tailwind
colors: {
  custom: {
    50: '#839ad3',
    500: '#4272bf',
    950: '#000000',
  },
}
SCSS
$custom: #4272bf;
$custom-light: #839ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4272bf",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 216.96,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.13111,
    "h": 259.4
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#4272BF
secondary
#CAB593
accent
#A44FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4272BF

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

Preview Lab → · Contrast checker → · Palette generator →

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