#4277D4#4277D4

#4277D4 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.0% C 0.154 H 260.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4277D4
RGBrgb(66, 119, 212)
HSLhsl(218, 63%, 55%)
HSVhsv(218, 69%, 83%)
CMYKcmyk(68.9%, 43.9%, 0%, 16.9%)
CIE-LABlab(50.81, 12.97, -53.10)
CIE-LCHlch(50.81, 54.67, 283.73°)
OKLaboklab(58% -0.0247 -0.1519)
OKLCHoklch(58% 0.154 260.8)
XYZxyz(20.7230, 19.1032, 64.8698)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277D4 #D49F42
analogous
#42C0D4 #4277D4 #5642D4
triadic
#4277D4 #D44277 #77D442
tetradic
#4277D4 #D442C0 #D49F42 #42D456
square
#4277D4 #D442C0 #D49F42 #42D456
split-complementary
#4277D4 #D45642 #C0D442
monochromatic
#1D407F #285AB1 #4277D4 #749BDF #A6BFEB

Accessibility & contrast

On white

4.36
#4277D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4277D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277D4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277D4#FFFFFF#000000##000000
##4277D41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A80D8
Deuteranopia (green-blind)
#2F73D2
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4277d4;
/* rgb */ color: rgb(66, 119, 212);
/* oklch */ color: oklch(58.0% 0.154 260.8);
Tailwind
colors: {
  custom: {
    50: '#869de2',
    500: '#4277d4',
    950: '#000000',
  },
}
SCSS
$custom: #4277d4;
$custom-light: #869de2;
$custom-dark: #000000;
JSON
{
  "hex": "#4277d4",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 212
  },
  "hsl": {
    "h": 218.219,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.15384,
    "h": 260.8
  },
  "luminance": 0.19105
}

Semantic roles & 50–950 ramp

primary
#4277D4
secondary
#D8C19A
accent
#AA42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4277D4

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

Preview Lab → · Contrast checker → · Palette generator →

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