#4272DF#4272DF

#4272DF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.7% C 0.174 H 263.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4272DF
RGBrgb(66, 114, 223)
HSLhsl(222, 71%, 57%)
HSVhsv(222, 70%, 87%)
CMYKcmyk(70.4%, 48.9%, 0%, 12.5%)
CIE-LABlab(50.12, 20.03, -60.43)
CIE-LCHlch(50.12, 63.67, 288.34°)
OKLaboklab(57.69% -0.0186 -0.1735)
OKLCHoklch(57.69% 0.174 263.9)
XYZxyz(21.5787, 18.5183, 72.2349)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4272DF #DFAF42
analogous
#42C1DF #4272DF #6142DF
triadic
#4272DF #DF4272 #72DF42
tetradic
#4272DF #DF42C1 #DFAF42 #42DF61
square
#4272DF #DF42C1 #DFAF42 #42DF61
split-complementary
#4272DF #DF6142 #C1DF42
monochromatic
#183C8E #2152C3 #4272DF #7699E8 #ABC0F1

Accessibility & contrast

On white

4.46
#4272DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4272DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4272DF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4272DF#FFFFFF#000000##000000
##4272DF1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4272df;
/* rgb */ color: rgb(66, 114, 223);
/* oklch */ color: oklch(57.7% 0.174 263.9);
Tailwind
colors: {
  custom: {
    50: '#8999ea',
    500: '#4272df',
    950: '#000000',
  },
}
SCSS
$custom: #4272df;
$custom-light: #8999ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4272df",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 221.656,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.17448,
    "h": 263.9
  },
  "luminance": 0.18521
}

Semantic roles & 50–950 ramp

primary
#4272DF
secondary
#DFCB9E
accent
#B73AEE
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4272DF

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

Preview Lab → · Contrast checker → · Palette generator →

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