#4277C7#4277C7

#4277C7 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.2% C 0.136 H 258.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4277C7
RGBrgb(66, 119, 199)
HSLhsl(216, 54%, 52%)
HSVhsv(216, 67%, 78%)
CMYKcmyk(66.8%, 40.2%, 0%, 22%)
CIE-LABlab(50.07, 8.35, -46.88)
CIE-LCHlch(50.07, 47.62, 280.10°)
OKLaboklab(57.19% -0.0273 -0.1336)
OKLCHoklch(57.19% 0.136 258.5)
XYZxyz(19.1487, 18.4735, 56.5784)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277C7 #C79242
analogous
#42BAC7 #4277C7 #5042C7
triadic
#4277C7 #C74277 #77C742
tetradic
#4277C7 #C742BA #C79242 #42C750
square
#4277C7 #C742BA #C79242 #42C750
split-complementary
#4277C7 #C75042 #BAC742
monochromatic
#213F6E #2F5B9D #4277C7 #7199D5 #A0BBE3

Accessibility & contrast

On white

4.47
#4277C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4277C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277C7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277C7#FFFFFF#000000##000000
##4277C71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECA
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#008995
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4277c7;
/* rgb */ color: rgb(66, 119, 199);
/* oklch */ color: oklch(57.2% 0.136 258.5);
Tailwind
colors: {
  custom: {
    50: '#849dd8',
    500: '#4277c7',
    950: '#000000',
  },
}
SCSS
$custom: #4277c7;
$custom-light: #849dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4277c7",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 199
  },
  "hsl": {
    "h": 216.09,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57188,
    "c": 0.13634,
    "h": 258.5
  },
  "luminance": 0.18475
}

Semantic roles & 50–950 ramp

primary
#4277C7
secondary
#D0B895
accent
#A34ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4277C7

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

Preview Lab → · Contrast checker → · Palette generator →

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