#4276E7#4276E7

#4276E7 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.1% C 0.180 H 263.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4276E7
RGBrgb(66, 118, 231)
HSLhsl(221, 77%, 58%)
HSVhsv(221, 71%, 91%)
CMYKcmyk(71.4%, 48.9%, 0%, 9.4%)
CIE-LABlab(51.70, 20.40, -62.38)
CIE-LCHlch(51.70, 65.63, 288.11°)
OKLaboklab(59.07% -0.0209 -0.1791)
OKLCHoklch(59.07% 0.18 263.3)
XYZxyz(23.1439, 19.8822, 78.2037)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4276E7 #E7B342
analogous
#42C8E7 #4276E7 #6042E7
triadic
#4276E7 #E74276 #76E742
tetradic
#4276E7 #E742C8 #E7B342 #42E760
square
#4276E7 #E742C8 #E7B342 #42E760
split-complementary
#4276E7 #E76042 #C8E742
monochromatic
#143E9B #1B54D1 #4276E7 #789DEE #AFC5F5

Accessibility & contrast

On white

4.22
#4276E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4276E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4276E7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4276E7#FFFFFF#000000##000000
##4276E71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EB
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4276e7;
/* rgb */ color: rgb(66, 118, 231);
/* oklch */ color: oklch(59.1% 0.180 263.3);
Tailwind
colors: {
  custom: {
    50: '#8a9cef',
    500: '#4276e7',
    950: '#000000',
  },
}
SCSS
$custom: #4276e7;
$custom-light: #8a9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#4276e7",
  "rgb": {
    "r": 66,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 221.091,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59066,
    "c": 0.18037,
    "h": 263.3
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#4276E7
secondary
#E3CFA2
accent
#B734F4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4276E7

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

Preview Lab → · Contrast checker → · Palette generator →

#4276E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva