#4277D2#4277D2

#4277D2 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.9% C 0.151 H 260.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4277D2
RGBrgb(66, 119, 210)
HSLhsl(218, 62%, 54%)
HSVhsv(218, 69%, 82%)
CMYKcmyk(68.6%, 43.3%, 0%, 17.6%)
CIE-LABlab(50.69, 12.26, -52.16)
CIE-LCHlch(50.69, 53.58, 283.23°)
OKLaboklab(57.88% -0.025 -0.1491)
OKLCHoklch(57.88% 0.151 260.5)
XYZxyz(20.4723, 19.0029, 63.5493)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277D2 #D29D42
analogous
#42BFD2 #4277D2 #5542D2
triadic
#4277D2 #D24277 #77D242
tetradic
#4277D2 #D242BF #D29D42 #42D255
square
#4277D2 #D242BF #D29D42 #42D255
split-complementary
#4277D2 #D25542 #BFD242
monochromatic
#1E407C #295AAD #4277D2 #739BDE #A5BEEA

Accessibility & contrast

On white

4.37
#4277D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4277D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277D2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277D2#FFFFFF#000000##000000
##4277D21.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D5
Deuteranopia (green-blind)
#3273D0
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4277d2;
/* rgb */ color: rgb(66, 119, 210);
/* oklch */ color: oklch(57.9% 0.151 260.5);
Tailwind
colors: {
  custom: {
    50: '#869de0',
    500: '#4277d2',
    950: '#000000',
  },
}
SCSS
$custom: #4277d2;
$custom-light: #869de0;
$custom-dark: #000000;
JSON
{
  "hex": "#4277d2",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 210
  },
  "hsl": {
    "h": 217.917,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57875,
    "c": 0.15115,
    "h": 260.5
  },
  "luminance": 0.19005
}

Semantic roles & 50–950 ramp

primary
#4277D2
secondary
#D7C099
accent
#A943E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4277D2

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

Preview Lab → · Contrast checker → · Palette generator →

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