#4277C4#4277C4

#4277C4 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.0% C 0.132 H 257.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4277C4
RGBrgb(66, 119, 196)
HSLhsl(216, 52%, 51%)
HSVhsv(216, 66%, 77%)
CMYKcmyk(66.3%, 39.3%, 0%, 23.1%)
CIE-LABlab(49.90, 7.29, -45.43)
CIE-LCHlch(49.90, 46.01, 279.12°)
OKLaboklab(57.01% -0.0279 -0.1293)
OKLCHoklch(57.01% 0.132 257.8)
XYZxyz(18.8038, 18.3356, 54.7620)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277C4 #C48F42
analogous
#42B8C4 #4277C4 #4E42C4
triadic
#4277C4 #C44277 #77C442
tetradic
#4277C4 #C442B8 #C48F42 #42C44E
square
#4277C4 #C442B8 #C48F42 #42C44E
split-complementary
#4277C4 #C44E42 #B8C442
monochromatic
#213F6A #305B99 #4277C4 #7199D3 #9FBAE1

Accessibility & contrast

On white

4.50
#4277C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4277C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277C4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277C4#FFFFFF#000000##000000
##4277C41.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547DC7
Deuteranopia (green-blind)
#4171C2
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4277c4;
/* rgb */ color: rgb(66, 119, 196);
/* oklch */ color: oklch(57.0% 0.132 257.8);
Tailwind
colors: {
  custom: {
    50: '#849dd6',
    500: '#4277c4',
    950: '#000000',
  },
}
SCSS
$custom: #4277c4;
$custom-light: #849dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4277c4",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 196
  },
  "hsl": {
    "h": 215.538,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.1323,
    "h": 257.8
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#4277C4
secondary
#CEB694
accent
#A14CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4277C4

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

Preview Lab → · Contrast checker → · Palette generator →

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