#4277DD#4277DD

#4277DD is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.6% C 0.166 H 262.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4277DD
RGBrgb(66, 119, 221)
HSLhsl(219, 70%, 56%)
HSVhsv(219, 70%, 87%)
CMYKcmyk(70.1%, 46.2%, 0%, 13.3%)
CIE-LABlab(51.35, 16.19, -57.33)
CIE-LCHlch(51.35, 59.57, 285.77°)
OKLaboklab(58.59% -0.0232 -0.1643)
OKLCHoklch(58.59% 0.166 262)
XYZxyz(21.8901, 19.5701, 71.0164)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277DD #DDA842
analogous
#42C5DD #4277DD #5B42DD
triadic
#4277DD #DD4277 #77DD42
tetradic
#4277DD #DD42C5 #DDA842 #42DD5B
square
#4277DD #DD42C5 #DDA842 #42DD5B
split-complementary
#4277DD #DD5B42 #C5DD42
monochromatic
#19408C #2258BF #4277DD #769CE6 #AAC2F0

Accessibility & contrast

On white

4.27
#4277DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4277DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277DD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277DD#FFFFFF#000000##000000
##4277DD1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E1
Deuteranopia (green-blind)
#1F74DB
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4277dd;
/* rgb */ color: rgb(66, 119, 221);
/* oklch */ color: oklch(58.6% 0.166 262.0);
Tailwind
colors: {
  custom: {
    50: '#889de8',
    500: '#4277dd',
    950: '#000000',
  },
}
SCSS
$custom: #4277dd;
$custom-light: #889de8;
$custom-dark: #000000;
JSON
{
  "hex": "#4277dd",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 219.484,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58592,
    "c": 0.1659,
    "h": 262
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#4277DD
secondary
#DDC79D
accent
#B03BEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4277DD

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

Preview Lab → · Contrast checker → · Palette generator →

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