#4277DB#4277DB

#4277DB is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.5% C 0.163 H 261.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4277DB
RGBrgb(66, 119, 219)
HSLhsl(219, 68%, 56%)
HSVhsv(219, 70%, 86%)
CMYKcmyk(69.9%, 45.7%, 0%, 14.1%)
CIE-LABlab(51.23, 15.48, -56.40)
CIE-LCHlch(51.23, 58.48, 285.34°)
OKLaboklab(58.46% -0.0235 -0.1615)
OKLCHoklch(58.46% 0.163 261.7)
XYZxyz(21.6252, 19.4641, 69.6214)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277DB #DBA642
analogous
#42C3DB #4277DB #5942DB
triadic
#4277DB #DB4277 #77DB42
tetradic
#4277DB #DB42C3 #DBA642 #42DB59
square
#4277DB #DB42C3 #DBA642 #42DB59
split-complementary
#4277DB #DB5942 #C3DB42
monochromatic
#1A4089 #2459BC #4277DB #759CE5 #A9C1EF

Accessibility & contrast

On white

4.29
#4277DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4277DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277DB#FFFFFF#000000##000000
##4277DB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#2473D9
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4277db;
/* rgb */ color: rgb(66, 119, 219);
/* oklch */ color: oklch(58.5% 0.163 261.7);
Tailwind
colors: {
  custom: {
    50: '#889de7',
    500: '#4277db',
    950: '#000000',
  },
}
SCSS
$custom: #4277db;
$custom-light: #889de7;
$custom-dark: #000000;
JSON
{
  "hex": "#4277db",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 219.216,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5846,
    "c": 0.16323,
    "h": 261.7
  },
  "luminance": 0.19466
}

Semantic roles & 50–950 ramp

primary
#4277DB
secondary
#DCC69D
accent
#AF3DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4277DB

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

Preview Lab → · Contrast checker → · Palette generator →

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