#4272D8#4272D8

#4272D8 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.2% C 0.165 H 263.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4272D8
RGBrgb(66, 114, 216)
HSLhsl(221, 66%, 55%)
HSVhsv(221, 69%, 85%)
CMYKcmyk(69.4%, 47.2%, 0%, 15.3%)
CIE-LABlab(49.68, 17.52, -57.19)
CIE-LCHlch(49.68, 59.81, 287.03°)
OKLaboklab(57.21% -0.0195 -0.1639)
OKLCHoklch(57.21% 0.165 263.2)
XYZxyz(20.6544, 18.1486, 67.3670)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4272D8 #D8A842
analogous
#42BDD8 #4272D8 #5D42D8
triadic
#4272D8 #D84272 #72D842
tetradic
#4272D8 #D842BD #D8A842 #42D85D
square
#4272D8 #D842BD #D8A842 #42D85D
split-complementary
#4272D8 #D85D42 #BDD842
monochromatic
#1B3D84 #2654B7 #4272D8 #7598E2 #A7BEED

Accessibility & contrast

On white

4.54
#4272D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4272D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4272D8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4272D8#FFFFFF#000000##000000
##4272D81.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDC
Deuteranopia (green-blind)
#1670D6
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4272d8;
/* rgb */ color: rgb(66, 114, 216);
/* oklch */ color: oklch(57.2% 0.165 263.2);
Tailwind
colors: {
  custom: {
    50: '#879ae5',
    500: '#4272d8',
    950: '#000000',
  },
}
SCSS
$custom: #4272d8;
$custom-light: #879ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4272d8",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 216
  },
  "hsl": {
    "h": 220.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57211,
    "c": 0.1651,
    "h": 263.2
  },
  "luminance": 0.18151
}

Semantic roles & 50–950 ramp

primary
#4272D8
secondary
#DAC69C
accent
#B23FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4272D8

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

Preview Lab → · Contrast checker → · Palette generator →

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