#4277EA#4277EA

#4277EA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.5% C 0.183 H 263.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4277EA
RGBrgb(66, 119, 234)
HSLhsl(221, 80%, 59%)
HSVhsv(221, 72%, 92%)
CMYKcmyk(71.8%, 49.1%, 0%, 8.2%)
CIE-LABlab(52.16, 20.85, -63.32)
CIE-LCHlch(52.16, 66.66, 288.23°)
OKLaboklab(59.48% -0.0214 -0.1819)
OKLCHoklch(59.48% 0.183 263.3)
XYZxyz(23.6896, 20.2899, 80.4938)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277EA #EAB542
analogous
#42CBEA #4277EA #6142EA
triadic
#4277EA #EA4277 #77EA42
tetradic
#4277EA #EA42CB #EAB542 #42EA61
square
#4277EA #EA42CB #EAB542 #42EA61
split-complementary
#4277EA #EA6142 #CBEA42
monochromatic
#123FA0 #1854D7 #4277EA #799FF0 #B0C6F6

Accessibility & contrast

On white

4.15
#4277EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4277EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277EA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277EA#FFFFFF#000000##000000
##4277EA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4277ea;
/* rgb */ color: rgb(66, 119, 234);
/* oklch */ color: oklch(59.5% 0.183 263.3);
Tailwind
colors: {
  custom: {
    50: '#8b9df1',
    500: '#4277ea',
    950: '#000000',
  },
}
SCSS
$custom: #4277ea;
$custom-light: #8b9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#4277ea",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 221.071,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59478,
    "c": 0.18314,
    "h": 263.3
  },
  "luminance": 0.20292
}

Semantic roles & 50–950 ramp

primary
#4277EA
secondary
#E5D0A3
accent
#B831F6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4277EA

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

Preview Lab → · Contrast checker → · Palette generator →

#4277EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva