#4277D8#4277D8

#4277D8 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.159 H 261.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4277D8
RGBrgb(66, 119, 216)
HSLhsl(219, 66%, 55%)
HSVhsv(219, 69%, 85%)
CMYKcmyk(69.4%, 44.9%, 0%, 15.3%)
CIE-LABlab(51.05, 14.40, -54.99)
CIE-LCHlch(51.05, 56.84, 284.68°)
OKLaboklab(58.26% -0.024 -0.1574)
OKLCHoklch(58.26% 0.159 261.3)
XYZxyz(21.2338, 19.3076, 67.5601)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277D8 #D8A342
analogous
#42C2D8 #4277D8 #5842D8
triadic
#4277D8 #D84277 #77D842
tetradic
#4277D8 #D842C2 #D8A342 #42D858
square
#4277D8 #D842C2 #D8A342 #42D858
split-complementary
#4277D8 #D85842 #C2D842
monochromatic
#1B4084 #2659B7 #4277D8 #759CE2 #A7C0ED

Accessibility & contrast

On white

4.32
#4277D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4277D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277D8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277D8#FFFFFF#000000##000000
##4277D81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4681DC
Deuteranopia (green-blind)
#2973D6
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4277d8;
/* rgb */ color: rgb(66, 119, 216);
/* oklch */ color: oklch(58.3% 0.159 261.3);
Tailwind
colors: {
  custom: {
    50: '#879de5',
    500: '#4277d8',
    950: '#000000',
  },
}
SCSS
$custom: #4277d8;
$custom-light: #879de5;
$custom-dark: #000000;
JSON
{
  "hex": "#4277d8",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 216
  },
  "hsl": {
    "h": 218.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58262,
    "c": 0.15921,
    "h": 261.3
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#4277D8
secondary
#DAC49C
accent
#AD3FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4277D8

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

Preview Lab → · Contrast checker → · Palette generator →

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