#4277C5#4277C5

#4277C5 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.1% C 0.134 H 258.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4277C5
RGBrgb(66, 119, 197)
HSLhsl(216, 53%, 52%)
HSVhsv(216, 66%, 77%)
CMYKcmyk(66.5%, 39.6%, 0%, 22.7%)
CIE-LABlab(49.96, 7.64, -45.92)
CIE-LCHlch(49.96, 46.55, 279.45°)
OKLaboklab(57.07% -0.0277 -0.1307)
OKLCHoklch(57.07% 0.134 258)
XYZxyz(18.9180, 18.3812, 55.3634)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277C5 #C59042
analogous
#42B9C5 #4277C5 #4F42C5
triadic
#4277C5 #C54277 #77C542
tetradic
#4277C5 #C542B9 #C59042 #42C54F
square
#4277C5 #C542B9 #C59042 #42C54F
split-complementary
#4277C5 #C54F42 #B9C542
monochromatic
#213F6C #2F5B9A #4277C5 #7199D3 #A0BAE2

Accessibility & contrast

On white

4.49
#4277C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4277C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277C5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277C5#FFFFFF#000000##000000
##4277C51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#547DC8
Deuteranopia (green-blind)
#4071C3
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4277c5;
/* rgb */ color: rgb(66, 119, 197);
/* oklch */ color: oklch(57.1% 0.134 258.0);
Tailwind
colors: {
  custom: {
    50: '#849dd7',
    500: '#4277c5',
    950: '#000000',
  },
}
SCSS
$custom: #4277c5;
$custom-light: #849dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4277c5",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 197
  },
  "hsl": {
    "h": 215.725,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57067,
    "c": 0.13364,
    "h": 258
  },
  "luminance": 0.18383
}

Semantic roles & 50–950 ramp

primary
#4277C5
secondary
#CEB795
accent
#A24BDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4277C5

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

Preview Lab → · Contrast checker → · Palette generator →

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