#4277C8#4277C8

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

Color values

HEX#4277C8
RGBrgb(66, 119, 200)
HSLhsl(216, 55%, 52%)
HSVhsv(216, 67%, 78%)
CMYKcmyk(67%, 40.5%, 0%, 21.6%)
CIE-LABlab(50.12, 8.70, -47.37)
CIE-LCHlch(50.12, 48.16, 280.41°)
OKLaboklab(57.25% -0.027 -0.135)
OKLCHoklch(57.25% 0.138 258.7)
XYZxyz(19.2652, 18.5201, 57.1918)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277C8 #C89342
analogous
#42BAC8 #4277C8 #5042C8
triadic
#4277C8 #C84277 #77C842
tetradic
#4277C8 #C842BA #C89342 #42C850
square
#4277C8 #C842BA #C89342 #42C850
split-complementary
#4277C8 #C85042 #BAC842
monochromatic
#20406F #2E5B9F #4277C8 #7199D6 #A1BBE4

Accessibility & contrast

On white

4.46
#4277C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4277C8#FFFFFF#000000##000000
##4277C81.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#3D72C6
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4277c8;
/* rgb */ color: rgb(66, 119, 200);
/* oklch */ color: oklch(57.2% 0.138 258.7);
Tailwind
colors: {
  custom: {
    50: '#849dd9',
    500: '#4277c8',
    950: '#000000',
  },
}
SCSS
$custom: #4277c8;
$custom-light: #849dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4277c8",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 200
  },
  "hsl": {
    "h": 216.269,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.13768,
    "h": 258.7
  },
  "luminance": 0.18522
}

Semantic roles & 50–950 ramp

primary
#4277C8
secondary
#D0B996
accent
#A34ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4277C8

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

Preview Lab → · Contrast checker → · Palette generator →

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