#4272EB#4272EB

#4272EB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.5% C 0.190 H 264.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4272EB
RGBrgb(66, 114, 235)
HSLhsl(223, 81%, 59%)
HSVhsv(223, 72%, 92%)
CMYKcmyk(71.9%, 51.5%, 0%, 7.8%)
CIE-LABlab(50.91, 24.33, -65.91)
CIE-LCHlch(50.91, 70.25, 290.26°)
OKLaboklab(58.54% -0.0172 -0.1896)
OKLCHoklch(58.54% 0.19 264.8)
XYZxyz(23.2542, 19.1886, 81.0594)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4272EB #EBBB42
analogous
#42C6EB #4272EB #6742EB
triadic
#4272EB #EB4272 #72EB42
tetradic
#4272EB #EB42C6 #EBBB42 #42EB67
square
#4272EB #EB42C6 #EBBB42 #42EB67
split-complementary
#4272EB #EB6742 #C6EB42
monochromatic
#113AA2 #174ED9 #4272EB #799BF1 #B1C5F7

Accessibility & contrast

On white

4.34
#4272EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4272EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4272EB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4272EB#FFFFFF#000000##000000
##4272EB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EF
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4272eb;
/* rgb */ color: rgb(66, 114, 235);
/* oklch */ color: oklch(58.5% 0.190 264.8);
Tailwind
colors: {
  custom: {
    50: '#8b99f2',
    500: '#4272eb',
    950: '#000000',
  },
}
SCSS
$custom: #4272eb;
$custom-light: #8b99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4272eb",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 222.959,
    "s": 80.861,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.19037,
    "h": 264.8
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

primary
#4272EB
secondary
#E6D3A3
accent
#BF31F7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4272EB

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

Preview Lab → · Contrast checker → · Palette generator →

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