#4277CC#4277CC

#4277CC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.5% C 0.143 H 259.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4277CC
RGBrgb(66, 119, 204)
HSLhsl(217, 58%, 53%)
HSVhsv(217, 68%, 80%)
CMYKcmyk(67.6%, 41.7%, 0%, 20%)
CIE-LABlab(50.35, 10.12, -49.29)
CIE-LCHlch(50.35, 50.32, 281.60°)
OKLaboklab(57.5% -0.0262 -0.1406)
OKLCHoklch(57.5% 0.143 259.4)
XYZxyz(19.7388, 18.7095, 59.6861)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277CC #CC9742
analogous
#42BCCC #4277CC #5242CC
triadic
#4277CC #CC4277 #77CC42
tetradic
#4277CC #CC42BC #CC9742 #42CC52
square
#4277CC #CC42BC #CC9742 #42CC52
split-complementary
#4277CC #CC5242 #BCCC42
monochromatic
#1F4074 #2C5AA4 #4277CC #729AD9 #A2BCE6

Accessibility & contrast

On white

4.43
#4277CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4277CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277CC#FFFFFF#000000##000000
##4277CC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FCF
Deuteranopia (green-blind)
#3972CA
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4277cc;
/* rgb */ color: rgb(66, 119, 204);
/* oklch */ color: oklch(57.5% 0.143 259.4);
Tailwind
colors: {
  custom: {
    50: '#859ddc',
    500: '#4277cc',
    950: '#000000',
  },
}
SCSS
$custom: #4277cc;
$custom-light: #859ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#4277cc",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 216.957,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.14307,
    "h": 259.4
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#4277CC
secondary
#D3BC97
accent
#A647E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4277CC

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

Preview Lab → · Contrast checker → · Palette generator →

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